Zaim
A Ruby wrapper for the Zaim API.
Installation
Add this line to your application's Gemfile:
gem 'zaim'
And then execute:
$ bundle
Or install it yourself as:
$ gem install zaim
Usage
Setup
Zaim.configure do |config|
config.consumer_key = YOUR_CONSUMER_KEY
config.consumer_secret = OUR_CONSUMER_SECRET
config.oauth_token = YOUR_OAUTH_TOKEN
config.oauth_token_secret = YOUR_OAUTH_TOKEN_SECRET
end
client = Zaim::Client.new
client.verify
{"me"=>{"login"=>"....."}, "requested"=>1370894199}
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request