Sha256: 7e154a723ec36b6d89219c258cab02fb7c36d39bd9cae45927cd36f3ae75631f

Contents?: true

Size: 341 Bytes

Versions: 3

Compression:

Stored size: 341 Bytes

Contents

class Flickr::Photos::License
  attr_accessor :id, :name, :url

  # create a new instance of a flickr photo license.
  # 
  # Params
  # * attributes (Required)
  #     a hash of attributes used to set the initial values of the license object
  def initialize(attributes)
    attributes.each do |k,v|
      send("#{k}=", v)
    end
  end
end

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
commonthread-flickr_fu-0.1.6 lib/flickr/license.rb
thewebfellas-flickr_fu-0.1.6 lib/flickr/license.rb
flickr_fu-0.1.6 lib/flickr/license.rb