Class: Flicket::BaseCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/flicket/flicker_query.rb

Direct Known Subclasses

InfoCommand, SearchCommand, SizesCommand

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flickraw) ⇒ BaseCommand

Returns a new instance of BaseCommand.



8
9
10
# File 'lib/flicket/flicker_query.rb', line 8

def initialize(flickraw)
  @api = flickraw
end

Instance Attribute Details

#apiObject (readonly)

Returns the value of attribute api.



6
7
8
# File 'lib/flicket/flicker_query.rb', line 6

def api
  @api
end