Sha256: 7aad45c5e7ae1e51118140f46a6d5ccd065d7c294f73cdb17380f7ff9e1aec65

Contents?: true

Size: 302 Bytes

Versions: 11

Compression:

Stored size: 302 Bytes

Contents

json.(stock_location, *stock_location_attributes)
json.country do
  if stock_location.country
    json.(stock_location.country, *country_attributes)
  else
    json.nil!
  end
end
json.state do
  if stock_location.state
    json.(stock_location.state, *state_attributes)
  else
    json.nil!
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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