Sha256: 3b957b7987be091fda40384b71e72f1241536acfc669e6d6c3c33c0d76beb58f

Contents?: true

Size: 289 Bytes

Versions: 19

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Entities
    class Tag < Grape::Entity
      expose :name, documentation: { type: String, required: true }
    end

    class Tags < Grape::Entity
      expose :tags, documentation: { type: [String], required: true }
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mihari-5.7.0 lib/mihari/entities/tag.rb
mihari-5.6.2 lib/mihari/entities/tag.rb
mihari-5.6.1 lib/mihari/entities/tag.rb
mihari-5.6.0 lib/mihari/entities/tag.rb
mihari-5.5.0 lib/mihari/entities/tag.rb
mihari-5.4.9 lib/mihari/entities/tag.rb
mihari-5.4.8 lib/mihari/entities/tag.rb
mihari-5.4.7 lib/mihari/entities/tag.rb
mihari-5.4.6 lib/mihari/entities/tag.rb
mihari-5.4.5 lib/mihari/entities/tag.rb
mihari-5.4.4 lib/mihari/entities/tag.rb
mihari-5.4.3 lib/mihari/entities/tag.rb
mihari-5.4.2 lib/mihari/entities/tag.rb
mihari-5.4.1 lib/mihari/entities/tag.rb
mihari-5.4.0 lib/mihari/entities/tag.rb
mihari-5.3.2 lib/mihari/entities/tag.rb
mihari-5.3.1 lib/mihari/entities/tag.rb
mihari-5.3.0 lib/mihari/entities/tag.rb
mihari-5.2.4 lib/mihari/entities/tag.rb