Permalink
Browse files

don't query activeCurrencies for product rate plans with other fields

  • Loading branch information...
mdemin914 committed Sep 27, 2016
1 parent c2fe7ae commit f46dfc8787a784466aa1f5d622aaae102986e322
Showing with 3 additions and 2 deletions.
  1. +1 −1 lib/zuora/api.rb
  2. +2 −1 lib/zuora/objects/product_rate_plan.rb
View
@@ -119,7 +119,7 @@ def initialize
end
def make_client
- Savon.client(wsdl: WSDL, soap_version: SOAP_VERSION, log: config.log || false, logger: config.logger, ssl_verify_mode: :none)
+ Savon.client(wsdl: WSDL, soap_version: SOAP_VERSION, log: config.log || true, ssl_verify_mode: :none)
end
end
@@ -8,7 +8,8 @@ class ProductRatePlan < Base
validates_length_of :name, :maximum => 100, :allow_nil => true
define_attributes do
- read_only :updated_by_id, :updated_date, :created_by_id, :created_date
+ read_only :updated_by_id, :updated_date, :created_by_id, :created_date, :active_currencies
+ defer :active_currencies
end
end
end

0 comments on commit f46dfc8

Please sign in to comment.