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.



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

#pageObject (readonly)

Returns the value of attribute page.



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

def page
  @page
end

#pagesObject (readonly)

Returns the value of attribute pages.



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

def pages
  @pages
end

#perpageObject (readonly)

Returns the value of attribute perpage.



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

def perpage
  @perpage
end

#totalObject (readonly)

Returns the value of attribute total.



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

def total
  @total
end