A InvoiceXpress (https://invoicexpress.com) API wrapper (for API version 2.0 REST)
gem install invoicexpress-rest
# You can set Invoicexpress configuration at class level like so
Invoicexpress.configure do |c|
c.api_key = ENV['INVOICE_EXPRESS_API_KEY']
c.account_name = ENV['INVOICE_EXPRESS_ACCOUNT_NAME']
end
# Or configure each instance independently
@client = Invoicexpress.new(
api_key: ENV['INVOICE_EXPRES_API_KEY']
account_name: ENV['INVOICE_EXPRESS_ACCOUNT_NAME']
)
# This method returns all invoices.
@client.invoices.all()
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don't break it in a future version unintentionally.
- Send me a pull request. Bonus points for topic branches.
invoicexpress-rest is free software distributed under the terms of the MIT license reproduced here.