class Typhoeus::Response

def initialize(options = {})

Returns:
  • (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