Class: GenesisRuby::Api::Requests::Base::Graphql
- Inherits:
-
Versioned
- Object
- GenesisRuby::Api::Request
- Versioned
- GenesisRuby::Api::Requests::Base::Graphql
- Defined in:
- lib/genesis_ruby/api/requests/base/graphql.rb
Overview
Base class for GraphQL API services
Direct Known Subclasses
Constant Summary
Constants inherited from GenesisRuby::Api::Request
GenesisRuby::Api::Request::AUTH_TYPE_BASIC, GenesisRuby::Api::Request::AUTH_TYPE_TOKEN, GenesisRuby::Api::Request::METHOD_GET, GenesisRuby::Api::Request::METHOD_PATCH, GenesisRuby::Api::Request::METHOD_POST, GenesisRuby::Api::Request::METHOD_PUT, GenesisRuby::Api::Request::PORT_HTTPS, GenesisRuby::Api::Request::PROTOCOL_HTTPS
Instance Attribute Summary
Attributes inherited from Versioned
Attributes inherited from GenesisRuby::Api::Request
Instance Method Summary collapse
-
#initialize(configuration, builder_interface = Builder::GRAPHQL) ⇒ Graphql
constructor
GraphQL base class constructor.
Methods inherited from GenesisRuby::Api::Request
Constructor Details
#initialize(configuration, builder_interface = Builder::GRAPHQL) ⇒ Graphql
GraphQL base class constructor
11 12 13 14 15 16 |
# File 'lib/genesis_ruby/api/requests/base/graphql.rb', line 11 def initialize(configuration, builder_interface = Builder::GRAPHQL) super configuration, builder_interface @root_key = 'query' @request_name = '' end |