Class: Firekassa::Invoice
Overview
Invoice API
Instance Method Summary collapse
Methods inherited from Client
#handle_error, #interpret_response, #send_request
Instance Method Details
#create(data) ⇒ Object
9 10 11 12 |
# File 'lib/firekassa/invoice.rb', line 9 def create(data) path = "/api/v2/invoices" send_request(method: :post, path: path, body: data) end |