class Xeroizer::InvalidAttributeInWhere
Public Class Methods
new(model_name, attribute_name)
click to toggle source
# File lib/xeroizer/exceptions.rb, line 116 def initialize(model_name, attribute_name) @model_name = model_name @attribute_name = attribute_name end
Public Instance Methods
message()
click to toggle source
# File lib/xeroizer/exceptions.rb, line 121 def message "#{@attribute_name} is not an attribute of #{@model_name}." end