Module: GraphqlConnector
- Defined in:
- lib/graphql_connector.rb,
lib/graphql_connector/version.rb,
lib/graphql_connector/http_client.rb,
lib/graphql_connector/configuration.rb,
lib/graphql_connector/base_server_type.rb,
lib/graphql_connector/formatters/base_format.rb,
lib/graphql_connector/formatters/query_format.rb,
lib/graphql_connector/formatters/mutation_format.rb,
lib/graphql_connector/service_classable/queryable.rb,
lib/graphql_connector/service_classable/params_validator.rb,
lib/graphql_connector/service_classable/class_method_validator.rb,
lib/graphql_connector/service_classable/return_fields_validator.rb
Overview
Main file of the GraphQLConnector
the main methods to configure the gem
and to run a raw_query or a normal query.
Defined Under Namespace
Modules: Formatters, ServiceClassable Classes: BaseServerType, BaseServerTypeAlreadyExistsError, Configuration, HttpClient
Constant Summary collapse
- VERSION =
'2.0.0'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
22 23 24 |
# File 'lib/graphql_connector.rb', line 22 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
33 34 35 |
# File 'lib/graphql_connector.rb', line 33 def self.configure yield(configuration) end |
.reset ⇒ Object
29 30 31 |
# File 'lib/graphql_connector.rb', line 29 def self.reset @configuration.reset! end |