Module: GraphQL::Tracing::PlatformTrace::BaseKeyCache
- Defined in:
- lib/graphql/tracing/platform_trace.rb
Instance Attribute Summary collapse
-
#platform_authorized_key_cache ⇒ Object
readonly
Returns the value of attribute platform_authorized_key_cache.
-
#platform_field_key_cache ⇒ Object
readonly
Returns the value of attribute platform_field_key_cache.
-
#platform_resolve_type_key_cache ⇒ Object
readonly
Returns the value of attribute platform_resolve_type_key_cache.
Instance Method Summary collapse
Instance Attribute Details
#platform_authorized_key_cache ⇒ Object (readonly)
Returns the value of attribute platform_authorized_key_cache.
20 21 22 |
# File 'lib/graphql/tracing/platform_trace.rb', line 20 def @platform_authorized_key_cache end |
#platform_field_key_cache ⇒ Object (readonly)
Returns the value of attribute platform_field_key_cache.
20 21 22 |
# File 'lib/graphql/tracing/platform_trace.rb', line 20 def platform_field_key_cache @platform_field_key_cache end |
#platform_resolve_type_key_cache ⇒ Object (readonly)
Returns the value of attribute platform_resolve_type_key_cache.
20 21 22 |
# File 'lib/graphql/tracing/platform_trace.rb', line 20 def platform_resolve_type_key_cache @platform_resolve_type_key_cache end |
Instance Method Details
#initialize ⇒ Object
14 15 16 17 18 |
# File 'lib/graphql/tracing/platform_trace.rb', line 14 def initialize @platform_field_key_cache = Hash.new { |h, k| h[k] = platform_field_key(k) } @platform_authorized_key_cache = Hash.new { |h, k| h[k] = (k) } @platform_resolve_type_key_cache = Hash.new { |h, k| h[k] = platform_resolve_type_key(k) } end |