Class: Biffbot::Image

Inherits:
Base
  • Object
show all
Defined in:
lib/biffbot/image.rb

Instance Method Summary collapse

Methods inherited from Base

#generate_url, #parse, #parse_options

Constructor Details

#initialize(url, options = {}, token = Biffbot.token) ⇒ Hash

a new instance of Biffbot::Image



10
11
12
# File 'lib/biffbot/image.rb', line 10

def initialize url, options = {}, token = Biffbot.token
  parse(token, 'image', url, options)
end