Class: OTX::Indicator::IP::DNS

Inherits:
Type::Base show all
Defined in:
lib/otx_ruby/types/ip/dns.rb

Instance Attribute Summary

Attributes inherited from Type::Base

#created, #id, #modified

Instance Method Summary collapse

Methods inherited from Type::Base

#initialize

Constructor Details

This class inherits a constructor from OTX::Type::Base

Instance Method Details

#get_ipsObject



5
6
7
8
9
10
11
12
# File 'lib/otx_ruby/types/ip/dns.rb', line 5

def get_ips
  ips = []
  @passive_dns.each do |r|
    ips << r['address']
  end

  return ips
end