lib/mambanation.rb in mambanation-0.1.31 vs lib/mambanation.rb in mambanation-0.1.32

- old
+ new

@@ -69,10 +69,10 @@ raise Unavailable, "(#{response.code}): #{response.message}" end end def self.parse(response) - Yajl::Parser.parse(response.body) + Yajl::Parser.parse(response.body) rescue {'error' => response} end def self.mash(obj) if obj.is_a?(Array) obj.map{|item| make_mash_with_consistent_hash(item)} \ No newline at end of file