šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

lita-googl

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lita-googl

0.0.1
Rubygems
Version published
Maintainers
1
Created
Source

lita-googl

Build Status Coverage Status

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

  • config.handlers.googl.api_key="YOUR_API_KEY"

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 google http://zaralab.org/
22:55 <ZaraRobo> SecretR http://goo.gl/x5PsTf

FAQs

Package last updated on 16 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts