Sha256: 2e2c727025b2ca892bf8e87f4d749d232c806d669ea8882238a296219b746257
Contents?: true
Size: 986 Bytes
Versions: 6
Compression:
Stored size: 986 Bytes
Contents
module Censys class AutonomousSystem # @return [String] attr_reader :name # @return [String] attr_reader :rir # @return [String] attr_reader :routed_prefix # @return [String] attr_reader :country_code # @return [Array<Integer>] attr_reader :path # @return [String] attr_reader :organization # @return [Integer] attr_reader :asn # @return [String] attr_reader :description # # Initializes the Autonomous System (AS) information. # # @param [Hash{String => Object}] attributes # def initialize(attributes) @name = attributes['name'] @rir = attributes['rir'] @routed_prefix = attributes['routed_prefix'] @country_code = attributes['country_code'] @path = attributes['path'] @organization = attributes['organization'] @asn = attributes['asn'] @description = attributes['description'] end end end
Version data entries
6 entries across 6 versions & 1 rubygems