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.
17 18 19 20 |
# File 'lib/himari/services/upstream_authentication.rb', line 17 def initialize(result) @result = result super("Unauthorized") end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
22 23 24 |
# File 'lib/himari/services/upstream_authentication.rb', line 22 def result @result end |
Instance Method Details
#as_log ⇒ Object
24 25 26 |
# File 'lib/himari/services/upstream_authentication.rb', line 24 def as_log result.as_log end |