Sha256: 8357af25fe5801d629bc806c56de77cd13eae4fe3b94c2a344ea418878f7672f

Contents?: true

Size: 194 Bytes

Versions: 2

Compression:

Stored size: 194 Bytes

Contents

# frozen_string_literal: true

class Api::Admin::UserSerializer < Api::Admin::BaseSerializer
  attributes :id, :email, :created_at

  FIELD_CUSTOM = {
    user_list: %i[id email]
  }.freeze
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
n_base_rails-0.1.2 lib/serializers/api/admin/user_serializer.rb
n_base_rails-0.1.1 lib/serializers/api/admin/user_serializer.rb