Method: GraphQL::Subscriptions::BroadcastAnalyzer#initialize
- Defined in:
- lib/graphql/subscriptions/broadcast_analyzer.rb
#initialize(subject) ⇒ BroadcastAnalyzer
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 BroadcastAnalyzer.
13 14 15 16 17 18 |
# File 'lib/graphql/subscriptions/broadcast_analyzer.rb', line 13 def initialize(subject) super @default_broadcastable = subject.schema.subscriptions.default_broadcastable # Maybe this will get set to false while analyzing @subscription_broadcastable = true end |