Class: ActiveShopifyGraphQL::Query::Node::Raw

Inherits:
ActiveShopifyGraphQL::Query::Node show all
Defined in:
lib/active_shopify_graphql/query/node/raw.rb

Overview

Renders raw GraphQL strings verbatim. Used for custom GraphQL snippets that don't fit other node types.

Constant Summary

Constants inherited from ActiveShopifyGraphQL::Query::Node

PAGE_INFO_FIELDS, STRING_KEYS_NEEDING_QUOTES

Instance Attribute Summary

Attributes inherited from ActiveShopifyGraphQL::Query::Node

#alias_name, #arguments, #children, #name

Instance Method Summary collapse

Methods inherited from ActiveShopifyGraphQL::Query::Node

#add_child, #has_children?, #initialize

Constructor Details

This class inherits a constructor from ActiveShopifyGraphQL::Query::Node

Instance Method Details

#to_sObject



9
10
11
# File 'lib/active_shopify_graphql/query/node/raw.rb', line 9

def to_s(*)
  @arguments[:raw_graphql]
end