module RackGraphql

Constants

AmbiguousParamError
VERSION

Attributes

log_exception_backtrace[W]

Public Class Methods

log_exception_backtrace() click to toggle source
# File lib/rack_graphql.rb, line 17
def log_exception_backtrace
  return @log_exception_backtrace unless @log_exception_backtrace.nil?

  %w[1 true].include?(ENV['RACK_GRAPHQL_LOG_EXCEPTION_BACKTRACE'].to_s)
end