InfaktApiClient
A Ruby client library for the Infakt API, providing easy access to Infakt's invoicing and accounting services.
Installation
Add this line to your application's Gemfile:
gem 'infakt_api_client'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install infakt_api_client
Usage
First, configure the client with your API key:
InfaktApiClient.configure do |config|
config.api_key = 'your_api_key_here'
end
Examples
# Create a new client
client = InfaktApiClient.new
# Fetch user details
user = client.user_details
Documentation
For detailed documentation of available methods and options, please visit our Wiki.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/mateuszpalak/infakt_api_client.
Development
After checking out the repo, run bin/setup
to install dependencies. Then, run rake spec
to run the tests.
To install this gem onto your local machine, run bundle exec rake install
.