Class: Vpsa::Api::Installments
- Defined in:
- lib/vpsa/api/installments.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
#configure(id, data) ⇒ Object
8 9 10 |
# File 'lib/vpsa/api/installments.rb', line 8 def configure(id, data) return parse_response(self.class.put("/#{id}", :body => build_body(data), :headers => header)) end |
#information ⇒ Object
12 13 14 |
# File 'lib/vpsa/api/installments.rb', line 12 def information return parse_response(self.class.get("/", :body => build_body, :headers => header)) end |