Ruby Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
sample
tasks
.gitignore
Gemfile
Gemfile.lock
History.txt
LICENSE.txt
README.md
Rakefile
im-kayac.gemspec

README.md

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request