Module: GraphQL::Schema::Member::HasAuthorization::InstanceConfigured Private

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

Overview

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.

API:

  • private

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:

Raises:

API:

  • private



22
23
24
# File 'lib/graphql/schema/member/has_authorization.rb', line 22

def authorizes?(context)
  raise RequiredImplementationMissingError, "#{self.class} must implement #authorizes?(context)"
end