Exception: AuthError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ps_utilities/connection.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = "", url = "", credentials = {}) ⇒ AuthError

Returns a new instance of AuthError.



12
13
14
15
16
# File 'lib/ps_utilities/connection.rb', line 12

def initialize(msg="", url="", credentials={})
  @url         = url
  @credentials = credentials
  super(msg)
end

Instance Attribute Details

#credentialsObject (readonly)

Returns the value of attribute credentials.



11
12
13
# File 'lib/ps_utilities/connection.rb', line 11

def credentials
  @credentials
end

#urlObject (readonly)

Returns the value of attribute url.



11
12
13
# File 'lib/ps_utilities/connection.rb', line 11

def url
  @url
end