mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update payment.rb
This commit is contained in:
@@ -24,6 +24,19 @@ class Payment
|
|||||||
@errors = ActiveModel::Errors.new(self)
|
@errors = ActiveModel::Errors.new(self)
|
||||||
end
|
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
|
def save
|
||||||
payment = Quickbooks::Model::Payment.new
|
payment = Quickbooks::Model::Payment.new
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user