lib/soapy_cake/const.rb in soapy_cake-1.6.8 vs lib/soapy_cake/const.rb in soapy_cake-1.6.9

- old
+ new

@@ -35,11 +35,11 @@ cpm: 3, fixed: 4, revshare: 5 }, # The ID mapping in the API docs is wrong, these values are taken from the UI. - conversion_behaviour_id: { + conversion_behavior_id: { system: 0, adv_off: 1, adv_no_aff: 2, no_adv_aff: 3, no_adv_no_aff: 4, @@ -54,7 +54,13 @@ daily: 1, weekly: 2, monthly: 3 } } + + CONSTS.merge!( + conversion_cap_behavior: CONSTS[:conversion_behavior_id], + conversion_behavior_on_redirect: CONSTS[:conversion_behavior_id], + status_id: CONSTS[:offer_status_id] + ) end end