Module: GraphqlDevise::FieldAuthentication

Extended by:
ActiveSupport::Concern
Included in:
Types::BaseField
Defined in:
lib/graphql_devise/concerns/field_authentication.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#authenticateObject (readonly)

Returns the value of attribute authenticate.



12
13
14
# File 'lib/graphql_devise/concerns/field_authentication.rb', line 12

def authenticate
  @authenticate
end

Instance Method Details

#initialize(*args, authenticate: nil, **kwargs, &block) ⇒ Object



7
8
9
10
# File 'lib/graphql_devise/concerns/field_authentication.rb', line 7

def initialize(*args, authenticate: nil, **kwargs, &block)
  @authenticate = authenticate
  super(*args, **kwargs, &block)
end