vidpush/app/views/campaigns/show.json.jbuilder
Tyrel Souza c6d2a47b2a change routes to use clientid
add json files
add jsonbuilder
2014-04-09 11:06:07 -04:00

19 lines
695 B
Ruby

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
end