Class: Vpsa::Api::SalesHistory
- Defined in:
- lib/vpsa/api/sales_history.rb
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
Methods inherited from Client
#category_levels, #client_classes, #companies, #credit_limits, #default_entries, #entities, #initialize, #installments, #orders, #payment_conditions, #product_categories, #products, #provisions, #receipts, #sales_history, #sellers, #third_parties, #user_data
Methods included from ClassMethods
Constructor Details
This class inherits a constructor from Vpsa::Client
Instance Method Details
#find(id) ⇒ Object
7 8 9 |
# File 'lib/vpsa/api/sales_history.rb', line 7 def find(id) return parse_response(self.class.get("/buscar?terceiro=#{id}", :body => build_body, :headers => header)) end |
#more_details(idTerceiro) ⇒ Object
11 12 13 |
# File 'lib/vpsa/api/sales_history.rb', line 11 def more_details(idTerceiro) return parse_response(self.class.get("/detalhar?terceiro=#{idTerceiro}", :body => build_body, :headers => header)) end |