hrysd / lingman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lingman

Nothing in particular.

Installation

#Gemfile
gem 'lingman', git: 'git://github.com/hrysd/lingman.git'

Usage

before using gem, need to make bot of Lingr.

Lingr/developer

require 'lingman'

bot = Lingman.bot do
  set :bot_id,  'BOTID'
  set :room_id, 'ROOMID'
  set :secret,  'SECRET'
end

bot.update('Hello World!')

# or

Lingman::Updater.update(
  'BOTID',
  'ROOMID',
  'SECRET',
  'TEXT'
)

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

About

License:MIT License


Languages

Language:Ruby 100.0%