Sha256: 2658316bfcc6534e7849322d4866a2537db365ac00b73bddc48a0b8ea171291e

Contents?: true

Size: 664 Bytes

Versions: 2

Compression:

Stored size: 664 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.6 lib/censys/data/series.rb
censu-0.1.5 lib/censys/data/series.rb