Method: RestClientWrapper::Paginator::HeaderLink#initialize

Defined in:
lib/rest_client_wrapper/paginators/header_link.rb,
lib/rest_client_wrapper/paginators/header_link_paginator.rb

#initialize(per_page: Paginate::DEFAULT_PAGINATION_PAGE_SIZE) ⇒ HeaderLink

Returns a new instance of HeaderLink.



34
35
36
37
# File 'lib/rest_client_wrapper/paginators/header_link.rb', line 34

def initialize(per_page: Paginate::DEFAULT_PAGINATION_PAGE_SIZE)
  @rest_client = nil
  @config = { page: nil, per_page: per_page }
end