Permalink
Browse files

Make initializer param optional to facilitate AR serialization

  • Loading branch information...
1 parent 8fe9fda commit 8491759dc3ecec1b48ae421f9a869b5a14a2410d @TildeWill TildeWill committed Jan 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/httparty/response.rb
View
@@ -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 8491759

Please sign in to comment.