Class: Censys::Search::IPv4
- Includes:
- Document::HasLocation
- Defined in:
- lib/censys/search/ipv4.rb
Instance Method Summary collapse
- #ip ⇒ Object (also: #to_s, #to_str)
- #protocols ⇒ Object
Methods included from Document::HasLocation
Methods inherited from Result
#[], #field?, #fields, #initialize
Constructor Details
This class inherits a constructor from Censys::Search::Result
Instance Method Details
#ip ⇒ Object Also known as: to_s, to_str
11 12 13 |
# File 'lib/censys/search/ipv4.rb', line 11 def ip @attributes['ip'] end |
#protocols ⇒ Object
15 16 17 |
# File 'lib/censys/search/ipv4.rb', line 15 def protocols @attributes['protocols'] end |