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