Module: FacturapiRuby::Customers
- Defined in:
- lib/facturapi_ruby/customers.rb
Class Method Summary collapse
Class Method Details
.create(options) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/facturapi_ruby/customers.rb', line 6 def create() HttpClient.post( endpoint: '/v1/customers', api_options: ) end |
.update(customer_id, options) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/facturapi_ruby/customers.rb', line 13 def update(customer_id, ) HttpClient.put( endpoint: "/v1/customers/#{customer_id}", api_options: ) end |