Class: Flickr::People::Person::Group

Inherits:
Object
  • Object
show all
Defined in:
lib/flickr/group.rb

Overview

wrapping class to hold a flickr group

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#eighteenplusObject

Returns the value of attribute eighteenplus.



4
5
6
# File 'lib/flickr/group.rb', line 4

def eighteenplus
  @eighteenplus
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/flickr/group.rb', line 4

def name
  @name
end

#nsidObject

Returns the value of attribute nsid.



4
5
6
# File 'lib/flickr/group.rb', line 4

def nsid
  @nsid
end