Class: GraphitiGql::Configuration
- Inherits:
-
Object
- Object
- GraphitiGql::Configuration
- Defined in:
- lib/graphiti_gql.rb
Instance Attribute Summary collapse
-
#base_schema ⇒ Object
Returns the value of attribute base_schema.
-
#error_handling ⇒ Object
Returns the value of attribute error_handling.
-
#exception_handler ⇒ Object
Returns the value of attribute exception_handler.
-
#logging ⇒ Object
Returns the value of attribute logging.
Instance Method Summary collapse
Instance Attribute Details
#base_schema ⇒ Object
Returns the value of attribute base_schema.
38 39 40 |
# File 'lib/graphiti_gql.rb', line 38 def base_schema @base_schema end |
#error_handling ⇒ Object
Returns the value of attribute error_handling.
38 39 40 |
# File 'lib/graphiti_gql.rb', line 38 def error_handling @error_handling end |
#exception_handler ⇒ Object
Returns the value of attribute exception_handler.
38 39 40 |
# File 'lib/graphiti_gql.rb', line 38 def exception_handler @exception_handler end |
#logging ⇒ Object
Returns the value of attribute logging.
38 39 40 |
# File 'lib/graphiti_gql.rb', line 38 def logging @logging end |
Instance Method Details
#log ⇒ Object
51 52 53 |
# File 'lib/graphiti_gql.rb', line 51 def log @log ||= !ENV['GRAPHITI_LOG_LEVEL'].nil? end |