Class: Apullo::Fingerprint::HTTP
- Includes:
- Mem
- Defined in:
- lib/apullo/fingerprints/http.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
writeonly
Sets the attribute headers.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(target) ⇒ HTTP
constructor
A new instance of HTTP.
Methods inherited from Base
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
14 15 16 |
# File 'lib/apullo/fingerprints/http.rb', line 14 def headers=(value) @headers = value end |