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
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Lita handler - Googl URL shortener

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.