added fake key
This commit is contained in:
parent
3fc1ef0c05
commit
d2a6139f79
@ -29,6 +29,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,]}
|
||||||
|
campaigns[:key] = "propeltest"
|
||||||
campaigns.to_json
|
campaigns.to_json
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user