mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update customer.rb
This commit is contained in:
1 parent
7e0888d375
commit
e89f2d17e7
1 file changed
+1
-1
@@ -85,7 +85,7 @@ class Customer < ActiveRecord::Base
|
||||
value = arguments[0]
|
||||
method_name = n.to_s
|
||||
# Check to see if the method exists
|
||||
if @details.method_defined?(n)
|
||||
if @details.instance_methods(true).include?(n)
|
||||
if method_name[-1, 1] == "="
|
||||
@details.method(method_name).call(value)
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user