Skip to content

Commit

Permalink
Fix #headers warning with Request.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalatero committed Sep 7, 2010
1 parent 850b91d commit ea1306c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/typhoeus/request.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
module Typhoeus
class Request
attr_accessor :method, :params, :body, :headers, :connect_timeout, :timeout, :user_agent, :response, :cache_timeout, :follow_location, :max_redirects, :proxy, :disable_ssl_peer_verification, :ssl_cert, :ssl_cert_type, :ssl_key, :ssl_key_type, :ssl_key_password, :ssl_cacert, :ssl_capath, :verbose, :username, :password,
:auth_method

attr_reader :url
attr_writer :headers
attr_accessor :method, :params, :body, :connect_timeout, :timeout,
:user_agent, :response, :cache_timeout, :follow_location,
:max_redirects, :proxy, :disable_ssl_peer_verification,
:ssl_cert, :ssl_cert_type, :ssl_key, :ssl_key_type,
:ssl_key_password, :ssl_cacert, :ssl_capath, :verbose,
:username, :password, :auth_method

# Initialize a new Request
#
Expand Down

0 comments on commit ea1306c

Please sign in to comment.