Module: Bitly

Extended by:
Config
Defined in:
lib/bitly.rb,
lib/bitly/v4.rb,
lib/bitly/config.rb,
lib/bitly/version.rb,
lib/bitly/v4/error.rb,
lib/bitly/v4/client.rb,
lib/bitly/v4/bitlink.rb

Overview

Bitly module.

Defined Under Namespace

Modules: Config, V4

Constant Summary collapse

VERSION =
'0.1.0'

Instance Attribute Summary

Attributes included from Config

#access_token, #api_version

Class Method Summary collapse

Methods included from Config

configure

Class Method Details

.shorten(long_url, options = {}) ⇒ Object



11
12
13
# File 'lib/bitly.rb', line 11

def self.shorten(long_url, options = {})
  client.shorten(long_url, options)
end