class Typhoeus::Response
This class respresents the response.
def initialize(options = {})
-
(Response)
- The new response.
Parameters:
-
options
(Hash
) -- The options hash.
Other tags:
- Example: Create a response. -
def initialize(options = {}) @options = options @headers = Header.new(options[:headers]) if options[:headers] end
def mock
- Api: - private
def mock defined?(@mock) ? @mock : options[:mock] end