Exception: Himari::Services::DownstreamAuthorization::ForbiddenError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/himari/services/downstream_authorization.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result) ⇒ ForbiddenError

Returns a new instance of ForbiddenError.

Parameters:



12
13
14
15
# File 'lib/himari/services/downstream_authorization.rb', line 12

def initialize(result)
  @result = result
  super("Forbidden")
end

Instance Attribute Details

#resultObject (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_logObject



19
20
21
# File 'lib/himari/services/downstream_authorization.rb', line 19

def as_log
  result.as_log
end