3 lines
208 B
Ruby
3 lines
208 B
Ruby
json.extract! company, :id, :name, :id_number, :vat_number, :address_line_one, :address_line_two, :postal_code, :city, :entity, :country, :created_at, :updated_at
|
|
json.url company_url(company, format: :json)
|