Sha256: c5ca162db40747076dcb0eec661cd56dbf1eec6ce057f5c6b58bc91cd9b6f56d

Contents?: true

Size: 267 Bytes

Versions: 10

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Entities
    class CPE < Grape::Entity
      expose :name, documentation: {type: String, required: true}
      expose :created_at, documentation: {type: DateTime, required: true}, as: :createdAt
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mihari-8.0.2 lib/mihari/entities/cpe.rb
mihari-8.0.1 lib/mihari/entities/cpe.rb
mihari-8.0.0 lib/mihari/entities/cpe.rb
mihari-7.6.4 lib/mihari/entities/cpe.rb
mihari-7.6.3 lib/mihari/entities/cpe.rb
mihari-7.6.2 lib/mihari/entities/cpe.rb
mihari-7.6.1 lib/mihari/entities/cpe.rb
mihari-7.6.0 lib/mihari/entities/cpe.rb
mihari-7.5.0 lib/mihari/entities/cpe.rb
mihari-7.4.0 lib/mihari/entities/cpe.rb