Exception: Sailpoint::Helpers::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



17
18
19
20
# File 'lib/sailpoint/helpers.rb', line 17

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

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



13
14
15
# File 'lib/sailpoint/helpers.rb', line 13

def data
  @data
end

Instance Method Details

#messageObject

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



23
24
25
# File 'lib/sailpoint/helpers.rb', line 23

def message
  @data
end