class Censys::AutonomousSystem

Attributes

asn[R]

@return [Integer]

country_code[R]

@return [String]

description[R]

@return [String]

name[R]

@return [String]

organization[R]

@return [String]

path[R]

@return [Array<Integer>]

rir[R]

@return [String]

routed_prefix[R]

@return [String]

Public Class Methods

new(attributes) click to toggle source

Initializes the Autonomous System (AS) information.

@param [Hash{String => Object}] attributes

# File lib/censys/autonomous_system.rb, line 34
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