Class: Tradenity::PageRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/tradenity/resources/paging.rb

Instance Method Summary collapse

Constructor Details

#initialize(page, size) ⇒ PageRequest

Returns a new instance of PageRequest.



32
33
34
35
# File 'lib/tradenity/resources/paging.rb', line 32

def initialize(page, size)
  @page_number = page
  @page_size = size
end