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.1.4 lib/flickr/note.rb
flickr-fu-0.1.3 lib/flickr/note.rb
flickr_fu-0.1.6 lib/flickr/note.rb