class Xeroizer::SettingTotalDirectlyNotSupported

Public Class Methods

new(attribute_name) click to toggle source
# File lib/xeroizer/exceptions.rb, line 104
def initialize(attribute_name)
  @attribute_name = attribute_name
end

Public Instance Methods

message() click to toggle source
# File lib/xeroizer/exceptions.rb, line 108
def message
  "Can't set the total #{@attribute_name} directly as this is calculated automatically."
end