Class: BsellerRuby::Delivery

Inherits:
Base
  • Object
show all
Defined in:
lib/bseller_ruby/delivery.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Base

call, collection_name, create, get, #initialize, post, put

Constructor Details

This class inherits a constructor from BsellerRuby::Base

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



3
4
5
# File 'lib/bseller_ruby/delivery.rb', line 3

def response
  @response
end

Class Method Details

.confirm!(params) ⇒ Object



9
10
11
# File 'lib/bseller_ruby/delivery.rb', line 9

def self.confirm!(params)
  call(:confirma_consulta_entrega, params).result
end

.list(params) ⇒ Object



5
6
7
# File 'lib/bseller_ruby/delivery.rb', line 5

def self.list(params)
  call(:consulta_entrega, params).result
end