added fake key

This commit is contained in:
Tyrel Souza 2014-05-02 15:54:23 -04:00
parent 3fc1ef0c05
commit d2a6139f79

View File

@ -29,6 +29,7 @@ class Campaign < ActiveRecord::Base
def to_bettervideo_format
campaign = self.as_json(include: :videolistings)
campaigns = {campaigns: [campaign,]}
campaigns[:key] = "propeltest"
campaigns.to_json
end