Class: RMeetup::Fetcher::Photos
- Defined in:
- lib/rmeetup/fetcher/photos.rb
Instance Method Summary collapse
-
#format_result(result) ⇒ Object
Turn the result hash into a Photo Class.
-
#initialize ⇒ Photos
constructor
A new instance of Photos.
Methods inherited from Base
Constructor Details
#initialize ⇒ Photos
4 5 6 |
# File 'lib/rmeetup/fetcher/photos.rb', line 4 def initialize @type = :photos end |
Instance Method Details
#format_result(result) ⇒ Object
Turn the result hash into a Photo Class
9 10 11 |
# File 'lib/rmeetup/fetcher/photos.rb', line 9 def format_result(result) RMeetup::Type::Photo.new(result) end |