Class: Flickr::People::Person::Group
Overview
wrapping class to hold a flickr group
Instance Attribute Summary collapse
-
#eighteenplus ⇒ Object
Returns the value of attribute eighteenplus.
-
#name ⇒ Object
Returns the value of attribute name.
-
#nsid ⇒ Object
Returns the value of attribute nsid.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Group
constructor
create a new instance of a flickr group.
Constructor Details
#initialize(attributes) ⇒ Group
create a new instance of a flickr group.
Params
-
attributes (Required)
a hash of attributes used to set the initial values of the contact object
11 12 13 14 15 |
# File 'lib/flickr/group.rb', line 11 def initialize(attributes) attributes.each do |k,v| send("#{k}=", v) end end |
Instance Attribute Details
#eighteenplus ⇒ Object
Returns the value of attribute eighteenplus.
4 5 6 |
# File 'lib/flickr/group.rb', line 4 def eighteenplus @eighteenplus end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/flickr/group.rb', line 4 def name @name end |
#nsid ⇒ Object
Returns the value of attribute nsid.
4 5 6 |
# File 'lib/flickr/group.rb', line 4 def nsid @nsid end |