Skip to content

Commit

Permalink
1.9 compatibility for HTTParty::Response
Browse files Browse the repository at this point in the history
  • Loading branch information
sandro committed Jun 2, 2010
1 parent 07a5be9 commit 41c94cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/httparty/response.rb
Expand Up @@ -38,7 +38,7 @@ def initialize(response, parsed_response)
end

def class
Object.instance_method(:class).bind(self).call
Response
end

def code
Expand Down

0 comments on commit 41c94cd

Please sign in to comment.