added fake key
This commit is contained in:
parent
d2a6139f79
commit
242b2ab416
@ -28,8 +28,7 @@ class Campaign < ActiveRecord::Base
|
||||
|
||||
def to_bettervideo_format
|
||||
campaign = self.as_json(include: :videolistings)
|
||||
campaigns = {campaigns: [campaign,]}
|
||||
campaigns[:key] = "propeltest"
|
||||
campaigns = {campaigns: [campaign,], key: "PRO1234"}
|
||||
campaigns.to_json
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user