Exception: Ki::ForbiddenAction

Inherits:
ApiError
  • Object
show all
Defined in:
lib/ki/utils/api_error.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from ApiError

#status

Instance Method Summary collapse

Methods inherited from ApiError

#result

Constructor Details

#initialize(s = 'forbidden', code = 403) ⇒ ForbiddenAction

Returns a new instance of ForbiddenAction.



25
26
27
# File 'lib/ki/utils/api_error.rb', line 25

def initialize(s = 'forbidden', code = 403)
  super s, code
end