Ruby client for Invofox API
This is a Ruby client for the Invofox' API
Installation
Install the gem (gem install invofox-api-ruby
) or include it in your Gemfile and bundle
.
Configuration
Just set the API key by doing this:
Invofox.api_key = 'your-api-key'
Or, if you use it in a Rails application, create an initializer with this content:
require 'invofox'
Invofox.configure do |config|
config.api_key = 'your-api-key'
end
You can set a logger
as well.
Changelog
- v.0.1.5 Added support for document's update_public_state endpoint.
- v.0.1.5 Fixes an issue sending booleans in POST and PUT requests.
- v.0.1.4 Ensure using JSON as content type.
- v.0.1.3 Increase timeout to 5m.
- v.0.1.2 Added support for companies' list endpoint.
- v.0.1.1 Added support for documents' update_type endpoint.
- v.0.1.0 First vull version, including resource wrapping for companies (get, create and update), documents (get, bulk and update) and load batches (get), plus logger integration.