Class: Flickr::SubCategory
- Inherits:
-
Object
- Object
- Flickr::SubCategory
- Defined in:
- lib/flickr/base.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, id, count) ⇒ SubCategory
constructor
A new instance of SubCategory.
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
#count ⇒ Object (readonly)
Returns the value of attribute count.
545 546 547 |
# File 'lib/flickr/base.rb', line 545 def count @count end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
545 546 547 |
# File 'lib/flickr/base.rb', line 545 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
545 546 547 |
# File 'lib/flickr/base.rb', line 545 def name @name end |