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.



547
548
549
550
551
# File 'lib/flickr/base.rb', line 547

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

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count.



545
546
547
# File 'lib/flickr/base.rb', line 545

def count
  @count
end

#idObject (readonly)

Returns the value of attribute id.



545
546
547
# File 'lib/flickr/base.rb', line 545

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



545
546
547
# File 'lib/flickr/base.rb', line 545

def name
  @name
end