Sha256: 78244e5f524e37e00f0b88e1d250321cd53d9cbc96d9421ad3bda0e29d24be4b

Contents?: true

Size: 103 Bytes

Versions: 8

Compression:

Stored size: 103 Bytes

Contents

class UserSerializer < ActiveModel::Serializer
  attributes :id, :name, :email

  has_one :account
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
embedded_associations-4.1.2 spec/support/app/app/serializers/user_serializer.rb
embedded_associations-4.1.1 spec/support/app/app/serializers/user_serializer.rb
embedded_associations-4.1.0 spec/support/app/app/serializers/user_serializer.rb
embedded_associations-4.0.0 spec/support/app/app/serializers/user_serializer.rb
embedded_associations-0.0.4 spec/support/app/app/serializers/user_serializer.rb
embedded_associations-0.0.3 spec/support/app/app/serializers/user_serializer.rb
embedded_associations-0.0.2 spec/support/app/app/serializers/user_serializer.rb
embedded_associations-0.0.1 spec/support/app/app/serializers/user_serializer.rb