Sha256: 82b8bb4701ea0c25bb9c0f2f9532060fb270b1875c0c5dc573296797b86812b2

Contents?: true

Size: 192 Bytes

Versions: 1

Compression:

Stored size: 192 Bytes

Contents

module Sprangular
  class ClassificationSerializer < BaseSerializer
    attributes :taxon_id, :position

    has_one :taxon, embed: :objects, serializer: Sprangular::TaxonSerializer
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprangular-0.1.0 app/serializers/sprangular/classification_serializer.rb