class FlickrawObjects::Photoset

Public Instance Methods

description() click to toggle source
# File flickraw_objects.rb, line 82
attribute :description  
get_info() click to toggle source
# File flickraw_objects.rb, line 73
def get_info
  @get_info ||= flickr.photosets.getInfo photoset_id: id
end
get_photos(params = {}) click to toggle source
# File flickraw_objects.rb, line 62
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 flickraw_objects.rb, line 78
attribute :id
photos(params = {})
Alias for: get_photos
primary() click to toggle source
# File flickraw_objects.rb, line 86
attribute :primary