Class: Apullo::Fingerprint::HTTP

Inherits:
Base
  • Object
show all
Includes:
Mem
Defined in:
lib/apullo/fingerprints/http.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#target

Instance Method Summary collapse

Methods inherited from Base

inherited, #name, #results

Constructor Details

#initialize(target) ⇒ HTTP

Returns a new instance of HTTP.



16
17
18
19
20
# File 'lib/apullo/fingerprints/http.rb', line 16

def initialize(target)
  super target

  @headers = {}
end

Instance Attribute Details

#headers=(value) ⇒ Object

Sets the attribute headers

Parameters:

  • value

    the value to set the attribute headers to.



14
15
16
# File 'lib/apullo/fingerprints/http.rb', line 14

def headers=(value)
  @headers = value
end