Class: Net::HTTPResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#timeObject

Returns the value of attribute time.



14
15
16
# File 'lib/pcap_tools.rb', line 14

def time
  @time
end

Instance Method Details

#body=(body) ⇒ Object



16
17
18
19
# File 'lib/pcap_tools.rb', line 16

def body= body
  @body = body
  @read = true
end