Sha256: 9d84bbd4a971d1e881ed608f101bdaa697df869d007be5940168c4770d8e3672
Contents?: true
Size: 614 Bytes
Versions: 42
Compression:
Stored size: 614 Bytes
Contents
# wrapper class to hold a flickr upload status object. # class Flickr::Uploader::Status attr_accessor :nsid, :is_pro, :username, :max_bandwidth, :used_bandwidth, :remaining_bandwidth, :max_filesize, :max_videosize, :sets_created, :sets_remaining # create a new instance of a flickr upload status object. # # Params # * flickr (Required) # the flickr object # * attributes (Required) # a hash of attributes used to set the initial values of the status object def initialize(flickr, attributes) @flickr = flickr attributes.each do |k,v| send("#{k}=", v) end end end
Version data entries
42 entries across 42 versions & 13 rubygems
Version | Path |
---|---|
flickr_fu-0.1.6 | lib/flickr/status.rb |
flickr-fu-0.1.4 | lib/flickr/status.rb |