Class: Lucid::Shopify::Request Abstract

Inherits:
Object
  • Object
show all
Extended by:
Dry::Initializer
Defined in:
lib/lucid/shopify/request.rb

Overview

This class is abstract.

Instance Method Summary collapse

Instance Method Details

#credentialsCredentials

Returns:



12
# File 'lib/lucid/shopify/request.rb', line 12

param :credentials

#http_headersHash

Returns:

  • (Hash)


21
# File 'lib/lucid/shopify/request.rb', line 21

param :http_headers, default: -> { build_headers }

#http_methodSymbol

Returns:

  • (Symbol)


14
# File 'lib/lucid/shopify/request.rb', line 14

param :http_method

#optionsHash

Returns:

  • (Hash)


18
# File 'lib/lucid/shopify/request.rb', line 18

param :options, default: -> { {} }

#pathString

Returns the endpoint relative to the base URL.

Returns:

  • (String)

    the endpoint relative to the base URL



16
# File 'lib/lucid/shopify/request.rb', line 16

param :path

#urlString

Returns:

  • (String)


23
# File 'lib/lucid/shopify/request.rb', line 23

param :url, default: -> { build_url }