c6d2a47b2a
add json files add jsonbuilder
19 lines
695 B
Ruby
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 |