Lita Glip Adapter

Gem Version Build Status Coverage Status Dependency Status Codacy Badge Code Climate Scrutinizer Code Quality Downloads Docs License

Stack Overflow Chat

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

  1. User address book lookup.

Change Log

See CHANGELOG.md

Project Repo

Lita

Contributing

  1. Fork it ( http://github.com/ringcentral-ruby/lita-glip/fork )
  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

License

Lita Glip Adapter is available under the MIT license. See LICENSE.md for details.

Lita Glip Adapter © 2016-2017 by John Wang