Class: ShopifyClient::Request
- Inherits:
-
Struct
- Object
- Struct
- ShopifyClient::Request
- Defined in:
- lib/shopify-client/request.rb
Instance Attribute Summary collapse
- #access_token ⇒ String?
- #client ⇒ Client?
- #data ⇒ Hash?
- #headers ⇒ Hash
- #method ⇒ Symbol
- #myshopify_domain ⇒ String
- #params ⇒ Hash
- #path ⇒ String
Instance Method Summary collapse
Instance Attribute Details
#access_token ⇒ String?
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/shopify-client/request.rb', line 20 Request = Struct.new( :myshopify_domain, :access_token, :method, :path, :params, :headers, :data, :client, ) do # @return [Boolean] def graphql? path == '/graphql.json' end # @return [String] def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end end |
#client ⇒ Client?
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/shopify-client/request.rb', line 20 Request = Struct.new( :myshopify_domain, :access_token, :method, :path, :params, :headers, :data, :client, ) do # @return [Boolean] def graphql? path == '/graphql.json' end # @return [String] def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end end |
#data ⇒ Hash?
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/shopify-client/request.rb', line 20 Request = Struct.new( :myshopify_domain, :access_token, :method, :path, :params, :headers, :data, :client, ) do # @return [Boolean] def graphql? path == '/graphql.json' end # @return [String] def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end end |
#headers ⇒ Hash
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/shopify-client/request.rb', line 20 Request = Struct.new( :myshopify_domain, :access_token, :method, :path, :params, :headers, :data, :client, ) do # @return [Boolean] def graphql? path == '/graphql.json' end # @return [String] def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end end |
#method ⇒ Symbol
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/shopify-client/request.rb', line 20 Request = Struct.new( :myshopify_domain, :access_token, :method, :path, :params, :headers, :data, :client, ) do # @return [Boolean] def graphql? path == '/graphql.json' end # @return [String] def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end end |
#myshopify_domain ⇒ String
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/shopify-client/request.rb', line 20 Request = Struct.new( :myshopify_domain, :access_token, :method, :path, :params, :headers, :data, :client, ) do # @return [Boolean] def graphql? path == '/graphql.json' end # @return [String] def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end end |
#params ⇒ Hash
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/shopify-client/request.rb', line 20 Request = Struct.new( :myshopify_domain, :access_token, :method, :path, :params, :headers, :data, :client, ) do # @return [Boolean] def graphql? path == '/graphql.json' end # @return [String] def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end end |
#path ⇒ String
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/shopify-client/request.rb', line 20 Request = Struct.new( :myshopify_domain, :access_token, :method, :path, :params, :headers, :data, :client, ) do # @return [Boolean] def graphql? path == '/graphql.json' end # @return [String] def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end end |
Instance Method Details
#graphql? ⇒ Boolean
31 32 33 |
# File 'lib/shopify-client/request.rb', line 31 def graphql? path == '/graphql.json' end |
#inspect ⇒ String
36 37 38 |
# File 'lib/shopify-client/request.rb', line 36 def inspect "#<ShopifyClient::Request (#{myshopify_domain}#{path})>" end |