Lita handler - Googl URL shortener
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.codeclimate.yml
.gitignore
.travis.yml
Gemfile
README.md
Rakefile
lita-googl.gemspec

README.md

lita-googl

Build Status Coverage Status Code Climate Gem Version

lita-googl is a handler for Lita that shortens URLs via URL Shortener API

Installation

Add lita-googl to your Lita instance's Gemfile:

gem "lita-googl"

Configuration

Add the configuration lines (listed below) to your application lita_config.rb

Secure it

You may "hide" your API key from the application config like this
config.handlers.googl.api_key=ENV['GOOGL_API_KEY'] and in your terminal

$ GOOGL_API_KEY=XXXXXXXX
$ export GOOGL_API_KEY
$ # Ensure it's there
$ echo $GOOGL_API_KEY
XXXXXXXX

Usage

22:55 <SecretR> ZaraRobo googl http://zaralab.org/
22:55 <ZaraRobo> SecretR http://goo.gl/x5PsTf