Sha256: ca8e20ab731530218e69e2b1e122e5dc4c1a832ffd225012736dec2679f817d0

Contents?: true

Size: 334 Bytes

Versions: 11

Compression:

Stored size: 334 Bytes

Contents

json.(user, *user_attributes)
json.bill_address do
  if user.bill_address
    json.partial!("spree/api/addresses/address", address: user.bill_address)
  else
    json.nil!
  end
end
json.ship_address do
  if user.ship_address
    json.partial!("spree/api/addresses/address", address: user.ship_address)
  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/users/_user.json.jbuilder
solidus_api-2.5.1 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.5.0 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.5.0.rc1 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.5.0.beta2 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.5.0.beta1 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.4.2 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.4.1 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.4.0 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.4.0.rc1 app/views/spree/api/users/_user.json.jbuilder
solidus_api-2.4.0.beta1 app/views/spree/api/users/_user.json.jbuilder