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
fotonauts-flickr_fu-0.3.7 lib/flickr/status.rb
fotonauts-flickr_fu-0.3.6 lib/flickr/status.rb
flickr_fu-0.3.2 lib/flickr/status.rb
fotonauts-flickr_fu-0.3.4 lib/flickr/status.rb
fotonauts-flickr_fu-0.3.3 lib/flickr/status.rb
fotonauts-flickr_fu-0.3.2 lib/flickr/status.rb
flickr_fu-0.3.1 lib/flickr/status.rb
tomk32-flickr_fu-0.3.4.1 lib/flickr/status.rb
userharmony-flickr_fu-0.3.6 lib/flickr/status.rb
tomk32-flickr_fu-0.3.3 lib/flickr/status.rb
tomk32-flickr_fu-0.3.2 lib/flickr/status.rb
tomk32-flickr_fu-0.3.1 lib/flickr/status.rb
robsharp-flickr_fu-0.3.0 lib/flickr/status.rb
mrpunkin-flickr_fu-0.3.0 lib/flickr/status.rb
flickr_fu-0.3.0 lib/flickr/status.rb
tomk32-flickr_fu-0.3.0 lib/flickr/status.rb
rmm5t-flickr_fu-0.3.5 lib/flickr/status.rb
rmm5t-flickr_fu-0.3.4 lib/flickr/status.rb
rmm5t-flickr_fu-0.3.3 lib/flickr/status.rb
rmm5t-flickr_fu-0.3.2 lib/flickr/status.rb