Method: RTX::API::Collection#page

Defined in:
lib/rtx/api/collection.rb

#page(num) ⇒ Object

Chainable method that allows you to set the page number of the collection for your request



51
52
53
54
55
# File 'lib/rtx/api/collection.rb', line 51

def page(num)
  clear if !num.nil?
  @options[:page] = num
  self
end