Class: Lucid::Shopify::PutRequest

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

Instance Method Summary collapse

Methods inherited from Request

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

Constructor Details

#initialize(credentials, path, json) ⇒ PutRequest

Returns a new instance of PutRequest.

Parameters:

  • credentials (Credentials)
  • path (String)

    the endpoint relative to the base URL

  • json (Hash)

    the JSON request body



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

def initialize(credentials, path, json)
  super(credentials, :put, path, json: json)
end