lib/fanforce/api/error.rb in fanforce-0.6.2 vs lib/fanforce/api/error.rb in fanforce-0.6.3

- old
+ new

@@ -18,10 +18,9 @@ end def code; @response.respond_to?(:code) ? @response.code : 500 end def to_s; @message end def to_hash; {} end - def to_json; to_hash.to_json end end class Fanforce::Api::ServerError < Fanforce::Api::Error def initialize(response, request, requested_url, requested_params) \ No newline at end of file