Class: GraphitiGql::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/graphiti_gql.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#base_schemaObject

Returns the value of attribute base_schema.



38
39
40
# File 'lib/graphiti_gql.rb', line 38

def base_schema
  @base_schema
end

#error_handlingObject

Returns the value of attribute error_handling.



38
39
40
# File 'lib/graphiti_gql.rb', line 38

def error_handling
  @error_handling
end

#exception_handlerObject

Returns the value of attribute exception_handler.



38
39
40
# File 'lib/graphiti_gql.rb', line 38

def exception_handler
  @exception_handler
end

#loggingObject

Returns the value of attribute logging.



38
39
40
# File 'lib/graphiti_gql.rb', line 38

def logging
  @logging
end

Instance Method Details

#logObject



51
52
53
# File 'lib/graphiti_gql.rb', line 51

def log
  @log ||= !ENV['GRAPHITI_LOG_LEVEL'].nil?
end