Class: OTX::Indicator::IP::DNS
- Inherits:
-
Type::Base
- Object
- Type::Base
- OTX::Indicator::IP::DNS
- Defined in:
- lib/otx_ruby/types/ip/dns.rb
Instance Attribute Summary
Attributes inherited from Type::Base
Instance Method Summary collapse
Methods inherited from Type::Base
Constructor Details
This class inherits a constructor from OTX::Type::Base
Instance Method Details
#get_ips ⇒ Object
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 |