vidpush/app/views/campaigns/index.json.jbuilder

31 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-04-15 17:04:58 +00:00
json.campaigns @campaigns do |campaign|
json.clientid campaign.clientid
json.listingcode campaign.listingcode
json.billingcode campaign.billingcode
json.advertisername campaign.advertisername
json.address1 campaign.address1
json.address2 campaign.address2
json.city campaign.city
json.state campaign.state
json.zip campaign.zip
json.emailaddress campaign.emailaddress
json.customerfirstname campaign.customerfirstname
json.customerlastname campaign.customerlastname
json.salesrep campaign.salesrep
json.salesrepemail campaign.salesrepemail
json.businessphone campaign.businessphone
json.contactphone campaign.contactphone
json.websiteurl campaign.websiteurl
json.videolistings campaign.videolistings.each do |videolisting|
json.videocode videolisting.videocode
json.producttypeid videolisting.producttypeid
json.remoteassetsarchive videolisting.remoteassetsarchive
json.voiceoverselection videolisting.voiceoverselection
json.musicselection videolisting.musicselection
json.clientprovidedscript videolisting.clientprovidedscript
json.keywords videolisting.keywords
json.focus videolisting.focus
json.notes videolisting.notes
json.asseturls videolisting.asseturls_array
end
end