Module: GraphQL::Schema::Member::HasAuthorization::ClassConfigured Private

Defined in:
lib/graphql/schema/member/has_authorization.rb

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

Instance Method Summary collapse

Instance Method Details

#authorizes?(context) ⇒ Boolean

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:



28
29
30
# File 'lib/graphql/schema/member/has_authorization.rb', line 28

def authorizes?(context)
  method(:authorized?).owner != GraphQL::Schema::Member::HasAuthorization
end