Module: GraphqlAuthorize::SchemaField

Defined in:
lib/graphql_authorize/ext/schema_field.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#authorizeObject

Returns the value of attribute authorize.



9
10
11
# File 'lib/graphql_authorize/ext/schema_field.rb', line 9

def authorize
  @authorize
end

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/graphql_authorize/ext/schema_field.rb', line 5

def self.included(base)
  base.accepts_definition :authorize
end