Class: Bitly
Class Method Summary collapse
-
.shorten(query = {}) ⇒ Object
:query => :domain :url :apiKey.
Class Method Details
.shorten(query = {}) ⇒ Object
:query => :domain :url :apiKey
9 10 11 |
# File 'lib/bitly.rb', line 9 def self.shorten(query={}) result = get('/shorten', :query => query) end |