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
Constant Summary collapse
- VERSION =
'0.1.0'
Instance Attribute Summary
Attributes included from Config
Class Method Summary collapse
Methods included from Config
Class Method Details
.shorten(long_url, options = {}) ⇒ Object
11 12 13 |
# File 'lib/bitly.rb', line 11 def self.shorten(long_url, = {}) client.shorten(long_url, ) end |