Class: Vpsa::Api::Provisions
- Defined in:
- lib/vpsa/api/provisions.rb
Instance Attribute Summary
Attributes inherited from Client
Instance Method Summary collapse
- #create(data) ⇒ Object (also: #new)
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
#create(data) ⇒ Object Also known as: new
6 7 8 |
# File 'lib/vpsa/api/provisions.rb', line 6 def create(data) return parse_response(self.class.post("/", :body => build_body(data), :headers => header)) end |