Skip to content
Browse files

Merge pull request #117 from TildeWill/master

Make initializer param optional to facilitate AR serialization
  • Loading branch information...
2 parents 5f7ca35 + 8491759 commit b0570e4f7da30a96167aa7e7185ef5f29cca1915 @jnunemaker committed Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/httparty/response.rb
View
2 lib/httparty/response.rb
@@ -3,7 +3,7 @@ class Response < HTTParty::BasicObject #:nodoc:
class Headers
include ::Net::HTTPHeader
- def initialize(header)
+ def initialize(header = {})
@header = header
end

0 comments on commit b0570e4

Please sign in to comment.
Something went wrong with that request. Please try again.