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.



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

def time
  @time
end

Instance Method Details

#body=(body) ⇒ Object



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

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