Permalink
Browse files

parse using json

  • Loading branch information...
stefl committed Dec 16, 2011
1 parent 5bb6a32 commit 2ba70bb85e241128b45dc4b57bb589b492536568
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/chargify/parser.rb
View
@@ -3,7 +3,7 @@ class Parser < HTTParty::Parser
def parse
begin
- Crack::JSON.parse(body)
+ JSON.parse(body)
rescue => e
raise(Chargify::Error::UnexpectedResponse.new(e.message), body)
end

0 comments on commit 2ba70bb

Please sign in to comment.