Exception: GrapeDeviseAuth::RegistrationFailed

Inherits:
StandardError
  • Object
show all
Defined in:
lib/grape_devise_auth/errors/registration_failed.rb

Instance Method Summary collapse

Constructor Details

#initialize(errors = nil) ⇒ RegistrationFailed

Returns a new instance of RegistrationFailed.



3
4
5
# File 'lib/grape_devise_auth/errors/registration_failed.rb', line 3

def initialize(errors = nil)
  @errors = errors
end

Instance Method Details

#errorsObject



7
8
9
# File 'lib/grape_devise_auth/errors/registration_failed.rb', line 7

def errors
  @errors
end