class Xeroizer::RecordKeyMustBeDefined

Public Class Methods

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

Public Instance Methods

message() click to toggle source
# File lib/xeroizer/exceptions.rb, line 94
def message
  "One of the keys #{@possible_keys.join(', ')} need to be defined to update the record."
end