Exception: Himari::Services::UpstreamAuthentication::UnauthorizedError
- Inherits:
-
StandardError
- Object
- StandardError
- Himari::Services::UpstreamAuthentication::UnauthorizedError
- Defined in:
- lib/himari/services/upstream_authentication.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #as_log ⇒ Object
-
#initialize(result) ⇒ UnauthorizedError
constructor
A new instance of UnauthorizedError.
Constructor Details
#initialize(result) ⇒ UnauthorizedError
Returns a new instance of UnauthorizedError.
15 16 17 18 |
# File 'lib/himari/services/upstream_authentication.rb', line 15 def initialize(result) @result = result super("Unauthorized") end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
20 21 22 |
# File 'lib/himari/services/upstream_authentication.rb', line 20 def result @result end |
Instance Method Details
#as_log ⇒ Object
22 23 24 |
# File 'lib/himari/services/upstream_authentication.rb', line 22 def as_log result.as_log end |