Exception: Xeroizer::SettingTotalDirectlyNotSupported
- Inherits:
-
StandardError
- Object
- StandardError
- Xeroizer::SettingTotalDirectlyNotSupported
- Defined in:
- lib/xeroizer/exceptions.rb
Instance Method Summary collapse
-
#initialize(attribute_name) ⇒ SettingTotalDirectlyNotSupported
constructor
A new instance of SettingTotalDirectlyNotSupported.
- #message ⇒ Object
Constructor Details
#initialize(attribute_name) ⇒ SettingTotalDirectlyNotSupported
Returns a new instance of SettingTotalDirectlyNotSupported.
89 90 91 |
# File 'lib/xeroizer/exceptions.rb', line 89 def initialize(attribute_name) @attribute_name = attribute_name end |
Instance Method Details
#message ⇒ Object
93 94 95 |
# File 'lib/xeroizer/exceptions.rb', line 93 def "Can't set the total #{@attribute_name} directly as this is calculated automatically." end |