lib/hamburglar/gateways/max_mind.rb in hamburglar-0.1.5 vs lib/hamburglar/gateways/max_mind.rb in hamburglar-0.2.0

- old
+ new

@@ -24,11 +24,11 @@ end end end end - Faraday.register_middleware :response, - maxmind: ::Hamburglar::Gateways::MaxMind::Base::ResponseParser + Faraday::Response.register_middleware maxmind: + ::Hamburglar::Gateways::MaxMind::Base::ResponseParser # Submit a request upstream to generate a fraud report def submit if valid? @response = Faraday.new(:url => self.class::API_URL, ssl: {