Sha256: ca58278ffeaa6b11ed8c7d82631621d79e327183788c4b2db5ee15b76730855e

Contents?: true

Size: 317 Bytes

Versions: 11

Compression:

Stored size: 317 Bytes

Contents

json.cache! address do
  json.(address, *address_attributes)
  json.country do
    if address.country
      json.(address.country, *country_attributes)
    else
      json.nil!
    end
  end
  json.state do
    if address.state
      json.(address.state, *state_attributes)
    else
      json.nil!
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_api-2.5.2 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.5.1 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.5.0 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.5.0.rc1 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.5.0.beta2 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.5.0.beta1 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.4.2 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.4.1 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.4.0 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.4.0.rc1 app/views/spree/api/addresses/_address.json.jbuilder
solidus_api-2.4.0.beta1 app/views/spree/api/addresses/_address.json.jbuilder