Module: GraphQL::Schema::Member::HasAuthorization::ClassConfigured
- Included in:
- Resolver
- Defined in:
- lib/graphql/schema/member/has_authorization.rb
Overview
-- @requires_ancestor: Kernel
Instance Method Summary collapse
-
#authorizes?(context) ⇒ Boolean
: (GraphQL::Query::Context context) -> bool.
Instance Method Details
#authorizes?(context) ⇒ Boolean
: (GraphQL::Query::Context context) -> bool
36 37 38 |
# File 'lib/graphql/schema/member/has_authorization.rb', line 36 def (context) method(:authorized?).owner != GraphQL::Schema::Member::HasAuthorization end |