Exception: AuthError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- AuthError
- Defined in:
- lib/ps_utilities/connection.rb
Overview
Instance Attribute Summary collapse
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(msg = "", url = "", credentials = {}) ⇒ AuthError
constructor
A new instance of AuthError.
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
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
11 12 13 |
# File 'lib/ps_utilities/connection.rb', line 11 def credentials @credentials end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
11 12 13 |
# File 'lib/ps_utilities/connection.rb', line 11 def url @url end |