mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update customer.rb
This commit is contained in:
@@ -85,7 +85,7 @@ class Customer < ActiveRecord::Base
|
|||||||
value = arguments[0]
|
value = arguments[0]
|
||||||
method_name = n.to_s
|
method_name = n.to_s
|
||||||
# Check to see if the method exists
|
# Check to see if the method exists
|
||||||
if @detils.method_defined?(n)
|
if @detils.instance_methods(true).include?(n)
|
||||||
if method_name[-1, 1] == "="
|
if method_name[-1, 1] == "="
|
||||||
@details.method(method_name).call(value)
|
@details.method(method_name).call(value)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user