houdini/app/views/api/nonprofits/create.json.jbuilder

20 lines
632 B
Text
Raw Normal View History

2020-04-21 18:47:49 +00:00
# frozen_string_literal: true
2020-06-12 20:03:43 +00:00
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
2020-04-21 18:47:49 +00:00
json.id @nonprofit.id
json.name @nonprofit.name
json.city @nonprofit.city
json.state_code @nonprofit.state_code
json.zip_code @nonprofit.zip_code
json.state_code_slug @nonprofit.state_code_slug
json.city_slug @nonprofit.city_slug
json.slug @nonprofit.slug
json.email @nonprofit.email
json.website @nonprofit.website
json.phone @nonprofit.phone
json.urls do
json.plain_url nonprofit_url(@nonprofit)
json.slug_url nonprofit_slug_url(@nonprofit)
end