im-kayac
rubygem for im.kayac.com
Install
% gem install im-kayac
Registration
please registrate on http://im.kayac.com
im-kayac command
% im-kayac --help
% im-kayac --to USER_NAME "hello world"
Gem Usage
require 'im-kayac'
ImKayac.to('username').post('hello world')
password
ImKayac.to('username').password('your-password').post('hello')
secret key
ImKayac.to('username').secret('your-key').post('hello')
iPhone URL Scheme Handler
ImKayac.to('username').handler('twitter://twitter.com/shokai').post('he is') # => open twitter
ImKayac.to('username').handler('mailto:example@example.com').post('hello')
Sample
https://github.com/shokai/ruby-im-kayac/tree/master/sample
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