Class: Flickr::GroupList
- Inherits:
-
Array
- Object
- Array
- Flickr::GroupList
- Defined in:
- lib/flickr/base.rb
Instance Attribute Summary collapse
-
#page ⇒ Object
readonly
Returns the value of attribute page.
-
#pages ⇒ Object
readonly
Returns the value of attribute pages.
-
#perpage ⇒ Object
readonly
Returns the value of attribute perpage.
-
#total ⇒ Object
readonly
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(page, pages, perpage, total) ⇒ GroupList
constructor
A new instance of GroupList.
Constructor Details
#initialize(page, pages, perpage, total) ⇒ GroupList
Returns a new instance of GroupList.
583 584 585 586 587 588 |
# File 'lib/flickr/base.rb', line 583 def initialize(page,pages,perpage,total) @page = page @pages = pages @perpage = perpage @total = total end |
Instance Attribute Details
#page ⇒ Object (readonly)
Returns the value of attribute page.
581 582 583 |
# File 'lib/flickr/base.rb', line 581 def page @page end |
#pages ⇒ Object (readonly)
Returns the value of attribute pages.
581 582 583 |
# File 'lib/flickr/base.rb', line 581 def pages @pages end |
#perpage ⇒ Object (readonly)
Returns the value of attribute perpage.
581 582 583 |
# File 'lib/flickr/base.rb', line 581 def perpage @perpage end |
#total ⇒ Object (readonly)
Returns the value of attribute total.
581 582 583 |
# File 'lib/flickr/base.rb', line 581 def total @total end |