Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
You can’t perform that action at this time.