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.



600
601
602
603
604
605
# File 'lib/flickr/base.rb', line 600

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.



598
599
600
# File 'lib/flickr/base.rb', line 598

def page
  @page
end

#pagesObject (readonly)

Returns the value of attribute pages.



598
599
600
# File 'lib/flickr/base.rb', line 598

def pages
  @pages
end

#perpageObject (readonly)

Returns the value of attribute perpage.



598
599
600
# File 'lib/flickr/base.rb', line 598

def perpage
  @perpage
end

#totalObject (readonly)

Returns the value of attribute total.



598
599
600
# File 'lib/flickr/base.rb', line 598

def total
  @total
end