Method: GraphQL::Tracing::PlatformTracing#initialize
- Defined in:
- lib/graphql/tracing/platform_tracing.rb
permalink #initialize(options = {}) ⇒ PlatformTracing
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of PlatformTracing.
19 20 21 22 23 |
# File 'lib/graphql/tracing/platform_tracing.rb', line 19 def initialize( = {}) @options = @platform_keys = self.class.platform_keys @trace_scalars = .fetch(:trace_scalars, false) end |