Sha256: 80d40704808a322897df8d55f1b91e7214f8b986f94f8ba146a264c2e55db624

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

module Mihari
  module Entities
    class Port < Grape::Entity
      expose :number, documentation: { type: Integer, required: true }
      expose :created_at, documentation: { type: DateTime, required: true }, as: :createdAt
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mihari-7.3.2 lib/mihari/entities/port.rb
mihari-7.3.1 lib/mihari/entities/port.rb
mihari-7.3.0 lib/mihari/entities/port.rb
mihari-7.2.0 lib/mihari/entities/port.rb