Sha256: 988eabc6892e08bf2d2d35eff6842c16b5d95227da05dec1690aa6fa01e1b8ec

Contents?: true

Size: 663 Bytes

Versions: 2

Compression:

Stored size: 663 Bytes

Contents

module Censys
  module Data
    class Series
      attr_reader :id

      attr_reader :port

      attr_reader :protocol

      attr_reader :subprotocol

      attr_reader :destination

      attr_reader :name

      attr_reader :description

      attr_reader :results

      def initialize(attributes)
        @id = attributes["id"]
        @port = attributes["port"]
        @protocol = attributes["protocol"]
        @subprotocol = attributes["subprotocol"]
        @destination = attributes["destination"]
        @name = attributes["name"]
        @description = attributes["description"]
        @results = attributes["results"]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
censu-0.1.4 lib/censys/data/series.rb
censu-0.1.3 lib/censys/data/series.rb