Sha256: 1e2eeb2e058d7cc152ca82f6b0e53c8c4aa15c5f110a141c236491def4db9fd2

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

# Generated via
#  `rails generate common_repository_model::collection <%= class_name %>`

require 'common_repository_model/collection_serializer'
class <%= class_name %>Serializer < CommonRepositoryModel::CollectionSerializer
  # You already will have the area (PID); See corresponding spec
  #
  # https://github.com/rails-api/active_model_serializers
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
common_repository_model-0.1.0 lib/generators/common_repository_model/collection/templates/collection_serializer.rb.erb
common_repository_model-0.0.9 lib/generators/common_repository_model/collection/templates/collection_serializer.rb.erb
common_repository_model-0.0.8 lib/generators/common_repository_model/collection/templates/collection_serializer.rb.erb
common_repository_model-0.0.7 lib/generators/common_repository_model/collection/templates/collection_serializer.rb.erb