mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update payment.rb
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user