Class: Net::HTTPResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/pcap_tools/patches/http.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#timeObject

Returns the value of attribute time.



8
9
10
# File 'lib/pcap_tools/patches/http.rb', line 8

def time
  @time
end

Instance Method Details

#body=(body) ⇒ Object



10
11
12
13
# File 'lib/pcap_tools/patches/http.rb', line 10

def body=(body)
  @body = body
  @read = true
end