Class: Flickr::GroupList

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(page, pages, perpage, total) ⇒ GroupList

Returns a new instance of GroupList.



584
585
586
587
588
589
# File 'lib/flickr/base.rb', line 584

def initialize(page,pages,perpage,total)
  @page = page
  @pages = pages
  @perpage = perpage
  @total = total
end

Instance Attribute Details

#pageObject (readonly)

Returns the value of attribute page.



582
583
584
# File 'lib/flickr/base.rb', line 582

def page
  @page
end

#pagesObject (readonly)

Returns the value of attribute pages.



582
583
584
# File 'lib/flickr/base.rb', line 582

def pages
  @pages
end

#perpageObject (readonly)

Returns the value of attribute perpage.



582
583
584
# File 'lib/flickr/base.rb', line 582

def perpage
  @perpage
end

#totalObject (readonly)

Returns the value of attribute total.



582
583
584
# File 'lib/flickr/base.rb', line 582

def total
  @total
end