Class: Superfaktura::CreateInvoice

Inherits:
BaseApi
  • Object
show all
Defined in:
lib/superfaktura/create_invoice.rb

Constant Summary

Constants inherited from BaseApi

BaseApi::SANDBOX_SUPERFAKTURA_URL, BaseApi::SUPERFAKTURA_URL

Class Method Summary collapse

Methods inherited from BaseApi

client, file, file_client, get, post, request, superfaktura_url

Class Method Details

.call(attributes) ⇒ Object



3
4
5
# File 'lib/superfaktura/create_invoice.rb', line 3

def self.call(attributes)
  post('/invoices/create', attributes)
end