Sha256: 456edc59b170a756de6265aa3ff0d97a23d77d05c6276afad4b4ed86beba901d

Contents?: true

Size: 204 Bytes

Versions: 1

Compression:

Stored size: 204 Bytes

Contents

module Sprangular
  class TaxonomySerializer < BaseSerializer
    attributes *taxonomy_attributes

    has_one :root, 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/taxonomy_serializer.rb