lib/futures_pipeline/connection.rb in futures_pipeline-0.0.1 vs lib/futures_pipeline/connection.rb in futures_pipeline-0.0.2
- old
+ new
@@ -3,10 +3,10 @@
module FuturesPipeline
module Connection
private
def connection
- Faraday::Connection.new(:ssl => {:verify => false}, :url => 'http://militarydemo.pipelinenc.com') do |connection|
+ Faraday.new(:url => 'http://militarydemo.pipelinenc.com') do |connection|
connection.use Faraday::Request::UrlEncoded
connection.use Faraday::Response::RaiseError
connection.use Faraday::Response::Rashify
connection.use Faraday::Response::ParseJson
connection.adapter(Faraday.default_adapter)