Sha256: e1a27142f772283b4188b0db6251e2dcf600dc84db47133faa82432748d67f2d
Contents?: true
Size: 485 Bytes
Versions: 29
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module <%= version_module %> module MediaTypes class <%= singular_class %> < Praxis::MediaType identifier 'application/json' domain_model '<%= version_module %>::Resources::<%= singular_class %>' description 'Structural definition of a <%= singular_class %>' attributes do attribute :id, Integer, description: '<%= singular_class %> identifier' # <INSERT MORE ATTRIBUTES HERE> end end end end
Version data entries
29 entries across 29 versions & 1 rubygems