Sha256: 48be8534cd20b66f9758bb70ade9898817208b50a23abc7c67b7385285597532

Contents?: true

Size: 350 Bytes

Versions: 14

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mihari-7.3.2 lib/mihari/entities/dns.rb
mihari-7.3.1 lib/mihari/entities/dns.rb
mihari-7.3.0 lib/mihari/entities/dns.rb
mihari-7.2.0 lib/mihari/entities/dns.rb
mihari-7.1.3 lib/mihari/entities/dns.rb
mihari-7.1.2 lib/mihari/entities/dns.rb
mihari-7.1.1 lib/mihari/entities/dns.rb
mihari-7.1.0 lib/mihari/entities/dns.rb
mihari-7.0.5 lib/mihari/entities/dns.rb
mihari-7.0.4 lib/mihari/entities/dns.rb
mihari-7.0.3 lib/mihari/entities/dns.rb
mihari-7.0.2 lib/mihari/entities/dns.rb
mihari-7.0.1 lib/mihari/entities/dns.rb
mihari-7.0.0 lib/mihari/entities/dns.rb