Class: Toast::ConfigDSL::Settings::AuthenticateContext

Inherits:
Object
  • Object
show all
Defined in:
lib/toast/config_dsl/settings.rb

Instance Method Summary collapse

Instance Method Details

#fail_with(hash) ⇒ Object



7
8
9
# File 'lib/toast/config_dsl/settings.rb', line 7

def fail_with hash
  raise Toast::Errors::CustomAuthFailure.new(hash)
end