Class: ContainerRepositoriesSerializer

Inherits:
BaseSerializer show all
Includes:
WithPagination
Defined in:
app/serializers/container_repositories_serializer.rb

Instance Attribute Summary

Attributes included from WithPagination

#paginator

Attributes inherited from BaseSerializer

#params

Instance Method Summary collapse

Methods included from WithPagination

#paginated?, #represent, #with_pagination

Methods inherited from BaseSerializer

entity, #initialize, #represent

Constructor Details

This class inherits a constructor from BaseSerializer

Instance Method Details

#represent_read_only(resource) ⇒ Object


7
8
9
# File 'app/serializers/container_repositories_serializer.rb', line 7

def represent_read_only(resource)
  represent(resource, except: [:destroy_path])
end