Class: Net::HTTPResponse
Instance Method Summary collapse
Instance Method Details
#content_length ⇒ Integer
8 |
# File 'lib/ruuuby/protocol/http_request.rb', line 8 def content_length; self.cache_warmup['content-length'].to_i; end |
#time_received ⇒ Object
5 |
# File 'lib/ruuuby/protocol/http_request.rb', line 5 def time_received; ::Time.parse(self.cache_warmup['date']); end |