Class: Lucid::Shopify::PostRequest

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

Instance Method Summary collapse

Methods inherited from Request

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

Constructor Details

#initialize(credentials, path, json) ⇒ PostRequest

Returns a new instance of PostRequest.

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/post_request.rb', line 13

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