# File lib/flickraw_objects.rb, line 90 attribute :primary
class FlickrawObjects::Photoset
Public Class Methods
find_by_id(id)
click to toggle source
# File lib/flickraw_objects.rb, line 62 def self.find_by_id(id) Photoset.new(flickr.photosets.getInfo photoset_id: id) end
Public Instance Methods
description()
click to toggle source
# File lib/flickraw_objects.rb, line 86 attribute :description
get_info()
click to toggle source
# File lib/flickraw_objects.rb, line 77 def get_info() @get_info ||= flickr.photosets.getInfo photoset_id: id end
get_photos(params = {})
click to toggle source
# File lib/flickraw_objects.rb, line 66 def get_photos(params = {}) result = Array.new response = flickr.photosets.getPhotos(photoset_id: id) response["photo"].each do |photo| result << Photo.new(photo) end result end
Also aliased as: photos
id()
click to toggle source
# File lib/flickraw_objects.rb, line 82 attribute :id
primary()
click to toggle source
title()
click to toggle source
# File lib/flickraw_objects.rb, line 84 attribute :title