Sha256: 9f17463a08a49afba81c7844041f70e7d1cd549d0ac2790c3f25f7060af4ff15

Contents?: true

Size: 338 Bytes

Versions: 4

Compression:

Stored size: 338 Bytes

Contents

# Serializes the `UserBoard` model instance to json.
# Read more about active model serializers - https://github.com/rails-api/active_model_serializers
#

module Unsakini
  class UserBoardSerializer < ActiveModel::Serializer

    attributes :id, :is_admin, :encrypted_password, :created_at, :updated_at

    belongs_to :board

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
unsakini-0.0.5 app/serializers/unsakini/user_board_serializer.rb
unsakini-0.0.5.pre.1 app/serializers/unsakini/user_board_serializer.rb
unsakini-0.0.4.pre.1 app/serializers/unsakini/user_board_serializer.rb
unsakini-0.0.4.3 app/serializers/unsakini/user_board_serializer.rb