Class: Tradenity::PageRequest
- Inherits:
-
Object
- Object
- Tradenity::PageRequest
- Defined in:
- lib/tradenity/resources/paging.rb
Instance Method Summary collapse
-
#initialize(page, size) ⇒ PageRequest
constructor
A new instance of PageRequest.
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 |