lib/soapy_cake/campaigns.rb in soapy_cake-2.1.4 vs lib/soapy_cake/campaigns.rb in soapy_cake-2.1.5
- old
+ new
@@ -4,18 +4,18 @@
class Campaigns
include Helper
# TODO: Figure out what `static_suppression` is for and whether it needs to
# be in the list.
- ALL_PARAMS = %i(
+ ALL_PARAMS = %i[
account_status_id affiliate_id auto_disposition_delay_hours campaign_id
clear_session_on_conversion currency_id display_link_type_id
expiration_date expiration_date_modification_type media_type_id
offer_contract_id offer_id paid paid_redirects paid_upsells payout
payout_update_option pixel_html postback_delay_ms postback_url
redirect_404 redirect_domain redirect_offer_contract_id review test_link
third_party_name unique_key_hash use_offer_contract_payout
- ).freeze
+ ].freeze
NO_CHANGE_VALUES = {
account_status_id: 0,
expiration_date_modification_type: ModificationType::DO_NOT_CHANGE,
currency_id: 0,