Class: Flicket::SizesCommand

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

Instance Attribute Summary

Attributes inherited from BaseCommand

#api

Instance Method Summary collapse

Methods inherited from BaseCommand

#initialize

Constructor Details

This class inherits a constructor from Flicket::BaseCommand

Instance Method Details

#call(photo_id) ⇒ Object



26
27
28
# File 'lib/flicket/flicker_query.rb', line 26

def call(photo_id)
  api.photos.getSizes(photo_id: photo_id)
end