Sha256: bfae6fc6732eb95aa3d8384a96444065d291fe8ce2b13701dc8c351e053eee6d

Contents?: true

Size: 244 Bytes

Versions: 12

Compression:

Stored size: 244 Bytes

Contents

# frozen_string_literal: true

class Tag < Praxis::MediaType
  identifier 'application/vnd.acme.tag'

  domain_model 'Resources::Tag'
  attributes do
    attribute :name, String
    attribute :taggings, Praxis::Collection.of(Tagging)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
praxis-2.0.0 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.40 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.39 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.38 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.37 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.36 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.35 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.34 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.33 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.32 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.31 spec/spec_app/design/media_types/tag.rb
praxis-2.0.pre.30 spec/spec_app/design/media_types/tag.rb