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.
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
#count ⇒ Object (readonly)
Returns the value of attribute count.
562 563 564 |
# File 'lib/flickr/base.rb', line 562 def count @count end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
562 563 564 |
# File 'lib/flickr/base.rb', line 562 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
562 563 564 |
# File 'lib/flickr/base.rb', line 562 def name @name end |