Method: Clever::Paginator#initialize

Defined in:
lib/clever/paginator.rb

#initialize(connection, path, method, type, client: nil) ⇒ Paginator

Returns a new instance of Paginator.



8
9
10
11
12
13
14
15
# File 'lib/clever/paginator.rb', line 8

def initialize(connection, path, method, type, client: nil)
  @connection = connection
  @path       = path
  @method     = method
  @type       = type
  @client     = client
  @next_path  = nil
end