Exception: AuthenticationException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sailpoint/helpers.rb

Overview

Used to generate an Exception error hen invalid credentails have been supplied

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = 'An API Authentication error has occured.') ⇒ AuthenticationException

Used to generate an ExceptionError message when Authenication has failed

Parameters:

  • data (String) (defaults to: 'An API Authentication error has occured.')
    • The message in which you wish to send to STDOUT for the exception error



83
84
85
86
# File 'lib/sailpoint/helpers.rb', line 83

def initialize(data = 'An API Authentication error has occured.')
  super
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



79
80
81
# File 'lib/sailpoint/helpers.rb', line 79

def data
  @data
end

Instance Method Details

#messageObject

Specify the attribute in which to push to STDOUT when generating a Ruby ExceptionError



89
90
91
# File 'lib/sailpoint/helpers.rb', line 89

def message
  @data
end