added fake key

This commit is contained in:
Tyrel Souza 2014-05-02 15:57:31 -04:00
parent d2a6139f79
commit 242b2ab416

View File

@ -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