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
#client_classes, #credit_limits, #default_entries, #entities, #initialize, #installments, #provisions, #receipts, #sales, #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 |