Sha256: 77be507e901fdec327ebd7409a44fcdffaa48a946cf84019fe59b197839ed3c5

Contents?: true

Size: 427 Bytes

Versions: 43

Compression:

Stored size: 427 Bytes

Contents

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