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