Class: GraphQL::Query::LegacyMaskWrap Private

Inherits:
Object
  • Object
show all
Defined in:
lib/graphql/query.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

#initialize(inner_mask) ⇒ LegacyMaskWrap

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 LegacyMaskWrap.



266
267
268
# File 'lib/graphql/query.rb', line 266

def initialize(inner_mask)
  @inner_mask = inner_mask
end

Instance Method Details

#call(member, ctx) ⇒ Object

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.



270
271
272
# File 'lib/graphql/query.rb', line 270

def call(member, ctx)
  @inner_mask.call(member)
end