diff --git a/app/models/payment.rb b/app/models/payment.rb index bdf6641..c62c8ae 100644 --- a/app/models/payment.rb +++ b/app/models/payment.rb @@ -23,6 +23,19 @@ class Payment def initialize @errors = ActiveModel::Errors.new(self) end + + # The following methods are needed to be minimally implemented + def read_attribute_for_validation(attr) + send(attr) + end + + def self.human_attribute_name(attr, options = {}) + attr + end + + def self.lookup_ancestors + [self] + end def save payment = Quickbooks::Model::Payment.new