Class: Flickr::SubCategory

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, id, count) ⇒ SubCategory

Returns a new instance of SubCategory.



564
565
566
567
568
# File 'lib/flickr/base.rb', line 564

def initialize(name,id,count)
	@name = name
	@id = id
	@count = count
end

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



562
563
564
# File 'lib/flickr/base.rb', line 562

def count
  @count
end

#idObject (readonly)

Returns the value of attribute id.



562
563
564
# File 'lib/flickr/base.rb', line 562

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



562
563
564
# File 'lib/flickr/base.rb', line 562

def name
  @name
end