Yapit
Yet another simple Pit library.
Installation
$ gem install yapit
Usage
require 'yapit'
Yapit.configure do |c|
c.root = '/path/to/pit/directory' # ~/.pit for default
c.default_profile = 'twitter' # 'default' for default
end
yapit = Yapit.new('profile_name') # or use default_profile
auth = yapit.get('twitter.com')
puts auth['id'], auth['id']
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