Method: GraphQL::Tracing::AppsignalTrace#platform_authorized

Defined in:
lib/graphql/tracing/appsignal_trace.rb

#platform_authorized(platform_key) ⇒ Object

[View source] [View on GitHub]

54
55
56
57
58
# File 'lib/graphql/tracing/appsignal_trace.rb', line 54

def platform_authorized(platform_key)
  Appsignal.instrument(platform_key) do
    yield
  end
end