class BsellerRuby::Purchase
Attributes
response[R]
Public Class Methods
confirm!(params = {})
click to toggle source
# File lib/bseller_ruby/purchase.rb, line 13 def self.confirm!(params = {}) post("#{path}/status?", params) end
create!(params = {})
click to toggle source
# File lib/bseller_ruby/purchase.rb, line 9 def self.create!(params = {}) post("#{path}?", params) end
list(params = {})
click to toggle source
# File lib/bseller_ruby/purchase.rb, line 5 def self.list(params = {}) get(path, params) end
Private Class Methods
path()
click to toggle source
# File lib/bseller_ruby/purchase.rb, line 19 def self.path 'compras/requisicao' end