module Harvest::HTTP

Public Instance Methods

increment_page() click to toggle source
# File lib/harvest/httpclient.rb, line 194
def increment_page
  self.page_count += 1
  self
end
to_api_call() click to toggle source
# File lib/harvest/httpclient.rb, line 182
def to_api_call
  ApiCall.new(
    **{
      path: path,
      http_method: http_method,
      params: param,
      payload: payload,
      headers: headers
    }
  )
end