module Flickrie::Media::ClassMethods
Public Instance Methods
new_collection(hash, api_caller)
click to toggle source
# File lib/flickrie/objects/media.rb, line 202 def new_collection(hash, api_caller) collection = hash.delete('photo').map { |info| new(info, api_caller) } Collection.new(hash).replace(collection) end