Sha256: 3276699af8fedb3eab7821679a9415079988df6cb1e766fc851660089660b3cd

Contents?: true

Size: 412 Bytes

Versions: 43

Compression:

Stored size: 412 Bytes

Contents

# wrapping class to hold a flickr note
# 
class Flickr::Photos::Note
  attr_accessor :id, :note, :author, :author_name, :x, :y, :width, :height
  
  # create a new instance of a flickr note.
  # 
  # Params
  # * attributes (Required)
  #     a hash of attributes used to set the initial values of the note 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/note.rb
flickr_fu-0.3.3 lib/flickr/note.rb
ayn-flickr_fu-0.3.5 lib/flickr/note.rb
ayn-flickr_fu-0.3.6 lib/flickr/note.rb
ayn-flickr_fu-0.3.7 lib/flickr/note.rb
ayn-flickr_fu-0.3.9 lib/flickr/note.rb
commonthread-flickr_fu-0.1.6 lib/flickr/note.rb
commonthread-flickr_fu-0.2.0 lib/flickr/note.rb
commonthread-flickr_fu-0.2.1 lib/flickr/note.rb
commonthread-flickr_fu-0.2.2 lib/flickr/note.rb
commonthread-flickr_fu-0.3.0 lib/flickr/note.rb
maciej-flickr_fu-0.3.0 lib/flickr/note.rb
rmm5t-flickr_fu-0.3.1 lib/flickr/note.rb
rschenk-flickr_fu-0.3.2 lib/flickr/note.rb
thewebfellas-flickr_fu-0.1.6 lib/flickr/note.rb
fotonauts-flickr_fu-0.3.13 lib/flickr/note.rb
fotonauts-flickr_fu-0.3.11 lib/flickr/note.rb
fotonauts-flickr_fu-0.3.10 lib/flickr/note.rb
fotonauts-flickr_fu-0.3.9 lib/flickr/note.rb
fotonauts-flickr_fu-0.3.8 lib/flickr/note.rb