Class: Lucid::Shopify::GetRequest

Inherits:
Request
  • Object
show all
Defined in:
lib/lucid/shopify/get_request.rb

Instance Method Summary collapse

Methods inherited from Request

#credentials, #http_headers, #http_method, #options, #path, #url

Constructor Details

#initialize(credentials, path, params = {}) ⇒ GetRequest

Returns a new instance of GetRequest.

Parameters:

  • credentials (Credentials)
  • path (String)

    the endpoint relative to the base URL

  • params (Hash) (defaults to: {})

    the query params



13
14
15
# File 'lib/lucid/shopify/get_request.rb', line 13

def initialize(credentials, path, params = {})
  super(credentials, :get, path, params: params)
end