Sha256: 4fe6f0820c905c0b7d099cf24ffb5d85d0ed5052d33943be915d19db4cc083ba

Contents?: true

Size: 159 Bytes

Versions: 134

Compression:

Stored size: 159 Bytes

Contents

# frozen_string_literal: true

json.(@country, *country_attributes)
json.states(@country.states) do |state|
  json.(state, :id, :name, :abbr, :country_id)
end

Version data entries

134 entries across 134 versions & 2 rubygems

Version Path
solidus_api_devise_token_auth-2.8.0.alpha.8 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha.7 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha.6 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha.5 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha.4 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha.3 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha.2 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha.1 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha.0 app/views/spree/api/countries/show.json.jbuilder
solidus_api_devise_token_auth-2.8.0.alpha app/views/spree/api/countries/show.json.jbuilder
solidus_api-2.7.0 app/views/spree/api/countries/show.json.jbuilder
solidus_api-2.6.1 app/views/spree/api/countries/show.json.jbuilder
solidus_api-2.6.0 app/views/spree/api/countries/show.json.jbuilder
solidus_api-2.6.0.rc1 app/views/spree/api/countries/show.json.jbuilder