Exception: Toast::Errors::NotAllowed
- Inherits:
-
StandardError
- Object
- StandardError
- Toast::Errors::NotAllowed
- Defined in:
- lib/toast/errors.rb
Instance Attribute Summary collapse
-
#source_location ⇒ Object
Returns the value of attribute source_location.
Instance Method Summary collapse
-
#initialize(source_location) ⇒ NotAllowed
constructor
A new instance of NotAllowed.
Constructor Details
#initialize(source_location) ⇒ NotAllowed
Returns a new instance of NotAllowed.
19 20 21 22 |
# File 'lib/toast/errors.rb', line 19 def initialize source_location @source_location = source_location super '' end |
Instance Attribute Details
#source_location ⇒ Object
Returns the value of attribute source_location.
17 18 19 |
# File 'lib/toast/errors.rb', line 17 def source_location @source_location end |