Exception: Spree::LogEntry::DisallowedClass
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Spree::LogEntry::DisallowedClass
- Defined in:
- app/models/spree/log_entry.rb
Overview
Raised when a disallowed class is tried to be loaded
Instance Attribute Summary collapse
-
#psych_exception ⇒ Object
readonly
Returns the value of attribute psych_exception.
Instance Method Summary collapse
-
#initialize(psych_exception:) ⇒ DisallowedClass
constructor
A new instance of DisallowedClass.
Constructor Details
#initialize(psych_exception:) ⇒ DisallowedClass
Returns a new instance of DisallowedClass.
22 23 24 25 |
# File 'app/models/spree/log_entry.rb', line 22 def initialize(psych_exception:) @psych_exception = psych_exception super() end |
Instance Attribute Details
#psych_exception ⇒ Object (readonly)
Returns the value of attribute psych_exception.
20 21 22 |
# File 'app/models/spree/log_entry.rb', line 20 def psych_exception @psych_exception end |