Exception: Himari::Services::DownstreamAuthorization::ForbiddenError
- Inherits:
-
StandardError
- Object
- StandardError
- Himari::Services::DownstreamAuthorization::ForbiddenError
- Defined in:
- lib/himari/services/downstream_authorization.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
- #as_log ⇒ Object
-
#initialize(result) ⇒ ForbiddenError
constructor
A new instance of ForbiddenError.
Constructor Details
#initialize(result) ⇒ ForbiddenError
Returns a new instance of ForbiddenError.
12 13 14 15 |
# File 'lib/himari/services/downstream_authorization.rb', line 12 def initialize(result) @result = result super("Forbidden") end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
17 18 19 |
# File 'lib/himari/services/downstream_authorization.rb', line 17 def result @result end |
Instance Method Details
#as_log ⇒ Object
19 20 21 |
# File 'lib/himari/services/downstream_authorization.rb', line 19 def as_log result.as_log end |