Sha256: 606bc809ff276cb5c3b16720327ae3a29c184d3e3cfd237c1a18dc8c91c52fb7
Contents?: true
Size: 671 Bytes
Versions: 1
Compression:
Stored size: 671 Bytes
Contents
require 'typhoeus/responses/header' require 'typhoeus/responses/informations' require 'typhoeus/responses/legacy' require 'typhoeus/responses/status' module Typhoeus # This class respresents the response. class Response include Responses::Informations include Responses::Legacy include Responses::Status attr_accessor :request, :options, :mock # Create a new response. # # @example Create a response. # Response.new # # @param [ Hash ] options The options hash. # # @return [ Response ] The new response. def initialize(options = {}) @options = options @header = options[:header] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typhoeus-0.5.0.alpha | lib/typhoeus/response.rb |