Horse
Tweet things on twitter.
Usage
= {
consumer_key: 'your twitter consumer key',
consumer_secret: 'your twitter consumer secret',
access_token: 'your twitter access token',
access_token_secret: 'your twitter access token secret',
twitter_username: 'your twitter username',
pending_tweets: -> { ["here's one tweet",
"here's another tweet"] }
}
Horse.setup()
# this will tweet one of the pending tweets
# that have not been tweeted previously
Horse.tweet_something_new
Installation
Add this line to your application's Gemfile:
gem 'horse'
And then execute:
$ bundle
Or install it yourself as:
$ gem install horse
Contributing
- Fork it ( http://github.com/
/horse/fork ) - 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