Module: Web::HTTPResponse

Included in:
ReadableHTTPResponse
Defined in:
lib/web/http_response.rb

Instance Method Summary collapse

Instance Method Details

#cached?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/web/http_response.rb', line 5

def cached?
  !!@cached
end