lib/uatu/response.rb in uatu-marvel-0.0.2 vs lib/uatu/response.rb in uatu-marvel-0.1.0
- old
+ new
@@ -1,10 +1,7 @@
-require 'faraday'
-require 'uatu/error'
-
module Uatu
module Response
-
+
class RaiseMarvelError < Faraday::Response::Middleware
def on_complete(env)
status = env[:status]
body = env[:body]
\ No newline at end of file