Sha256: 48d5b29830e6e38aa250763b9ab0f377998c9c31a68bbae55ac30732537df2ab

Contents?: true

Size: 392 Bytes

Versions: 43

Compression:

Stored size: 392 Bytes

Contents

# wrapping class to hold a flickr size
# 
class Flickr::Photos::Size
  attr_accessor :label, :width, :height, :source, :url
  
  # create a new instance of a flickr size.
  # 
  # Params
  # * attributes (Required)
  #     a hash of attributes used to set the initial values of the size object
  def initialize(attributes)
    attributes.each do |k,v|
      send("#{k}=", v)
    end
  end
end

Version data entries

43 entries across 43 versions & 13 rubygems

Version Path
flickr_fu-0.3.4 lib/flickr/size.rb
flickr_fu-0.3.3 lib/flickr/size.rb
ayn-flickr_fu-0.3.5 lib/flickr/size.rb
ayn-flickr_fu-0.3.6 lib/flickr/size.rb
ayn-flickr_fu-0.3.7 lib/flickr/size.rb
ayn-flickr_fu-0.3.9 lib/flickr/size.rb
commonthread-flickr_fu-0.1.6 lib/flickr/size.rb
commonthread-flickr_fu-0.2.0 lib/flickr/size.rb
commonthread-flickr_fu-0.2.1 lib/flickr/size.rb
commonthread-flickr_fu-0.2.2 lib/flickr/size.rb
commonthread-flickr_fu-0.3.0 lib/flickr/size.rb
maciej-flickr_fu-0.3.0 lib/flickr/size.rb
rmm5t-flickr_fu-0.3.1 lib/flickr/size.rb
rschenk-flickr_fu-0.3.2 lib/flickr/size.rb
thewebfellas-flickr_fu-0.1.6 lib/flickr/size.rb
fotonauts-flickr_fu-0.3.13 lib/flickr/size.rb
fotonauts-flickr_fu-0.3.11 lib/flickr/size.rb
fotonauts-flickr_fu-0.3.10 lib/flickr/size.rb
fotonauts-flickr_fu-0.3.9 lib/flickr/size.rb
fotonauts-flickr_fu-0.3.8 lib/flickr/size.rb