Exception: Crows::NotAuthorizedError
- Inherits:
-
StandardError
- Object
- StandardError
- Crows::NotAuthorizedError
- Defined in:
- lib/crows.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ NotAuthorizedError
constructor
A new instance of NotAuthorizedError.
Constructor Details
#initialize(options = {}) ⇒ NotAuthorizedError
Returns a new instance of NotAuthorizedError.
26 27 28 29 30 31 |
# File 'lib/crows.rb', line 26 def initialize( = {}) query = [:query] record = [:record] = "not allowed to #{query} this #{record.inspect}" super() end |