Class: BsellerRuby::Order
- Inherits:
-
Base
- Object
- Base
- BsellerRuby::Order
show all
- Defined in:
- lib/bseller_ruby/order.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Methods inherited from Base
call, collection_name, create, get, #initialize, post, put
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
3
4
5
|
# File 'lib/bseller_ruby/order.rb', line 3
def response
@response
end
|
Class Method Details
.create!(params) ⇒ Object
5
6
7
|
# File 'lib/bseller_ruby/order.rb', line 5
def self.create!(params)
call(:envia_pedido, params).result
end
|
.find(params) ⇒ Object
9
10
11
|
# File 'lib/bseller_ruby/order.rb', line 9
def self.find(params)
call(:consulta_entrega, params).result
end
|
.find_confirm(params) ⇒ Object
13
14
15
|
# File 'lib/bseller_ruby/order.rb', line 13
def self.find_confirm(params)
call(:confirma_consulta_entrega, params).result
end
|
.payment(params) ⇒ Object
17
18
19
|
# File 'lib/bseller_ruby/order.rb', line 17
def self.payment(params)
call(:analise_pagamento, params).result
end
|