Sha256: 0e6cb4fd2750467802c683ba2f7880df6a9fb040face0d5a943492c37b0907a0
Contents?: true
Size: 549 Bytes
Versions: 7
Compression:
Stored size: 549 Bytes
Contents
module Typhoeus class Response attr_reader :code, :headers, :body, :time, :requested_url, :requested_remote_method, :requested_http_method def initialize(params = {}) @code = params[:code] @headers = params[:headers] @body = params[:body] @time = params[:time] @requested_url = params[:requested_url] @requested_http_method = params[:requested_http_method] end end end
Version data entries
7 entries across 7 versions & 1 rubygems