Lita Glip Adapter
lita-glip
is an adapter for Lita that allows you to use the robot with Glip.
Installation
Add lita-glip
to your Lita instance's Gemfile:
gem "lita-glip"
Configuration
Direct
Lita.configure do |config|
config.robot.adapter = :glip
# Glip app info
config.adapters.glip.app_key = 'my_app_key'
config.adapters.glip.app_secret = 'my_app_secret'
config.adapters.glip.server_url = 'https://platform.devtest.ringcentral.com'
config.adapters.glip.username = '16505550100'
config.adapters.glip.extension = '101'
config.adapters.glip.password = 'my_password'
end
Dotenv
Using LitaDotenv
you can use the following:
require 'lita_dotenv'
Lita.configure do |config|
config = LitaDotenv.new(config).config
end
In your .env
file:
LITA_ROBOT_ADAPTER__TYPESYM=glip
LITA_ADAPTERS_GLIP_appKey=my_app_key
LITA_ADAPTERS_GLIP_appSecret=my_app_secret
LITA_ADAPTERS_GLIP_serverUrl=https://platform.devtest.ringcentral.com
LITA_ADAPTERS_GLIP_USERNAME=16505550100
LITA_ADAPTERS_GLIP_EXTENSION=101
LITA_ADAPTERS_GLIP_PASSWORD=my_password
API documentation
The API documentation, useful for plugin authors, can be found for the latest gem release on RubyDoc.info.
To Do
- User address book lookup.
Change Log
See CHANGELOG.md
Links
Project Repo
Lita
Contributing
- Fork it ( http://github.com/ringcentral-ruby/lita-glip/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
License
Lita Glip Adapter is available under the MIT license. See LICENSE.md for details.
Lita Glip Adapter © 2016-2017 by John Wang