lib/marvel/connection.rb in marvel_api-0.1.2 vs lib/marvel/connection.rb in marvel_api-0.1.3
- old
+ new
@@ -1,6 +1,6 @@
-require 'faraday/middleware'
+require 'faraday_middleware'
module Marvel
module Connection
private
@@ -11,10 +11,10 @@
}
Faraday.new(options) do |connection|
connection.use Faraday::Request::UrlEncoded
connection.use Faraday::Response::RaiseError
- connection.use Faraday::Response::Rashify
+ connection.use Faraday::Response::Mashify
connection.use Faraday::Response::ParseJson
connection.adapter(Faraday.default_adapter)
end
end
end
\ No newline at end of file