Skip to content

Commit

Permalink
namespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mdemin914 committed Oct 16, 2012
1 parent 484d312 commit efdde68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/zuora/objects/amend_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ def generate_rate_plan_data(builder)
rp.__send__(ons, :ProductRatePlanId, rate_plan.id)
end
charges.each do |charge|
rpd.__send__(ons, :RatePlanChargeData) do |rpcd|
rpcd.__send__(zns, :RatePlanCharge) do |rpc|
rpc.__send__(ons, :ProductRatePlanChargeId, charge.product_rate_plan_charge_id)
rpc.__send__(ons, :Quantity, charge.quantity)
rpd.__send__(zns, :RatePlanChargeData) do |rpcd|
rpcd.__send__(ons, :RatePlanCharge) do |rpc|
rpc.__send__(zns, :ProductRatePlanChargeId, charge.product_rate_plan_charge_id)
rpc.__send__(zns, :Quantity, charge.quantity)
end
end
end unless charges == nil
Expand Down

0 comments on commit efdde68

Please sign in to comment.