Class: Bitly

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/bitly.rb

Class Method Summary collapse

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