Sha256: ab50b6779ed60c63db7956d77e2169ad4e4ecea4ab5e8a90cd18298d8c369b2f
Contents?: true
Size: 461 Bytes
Versions: 1
Compression:
Stored size: 461 Bytes
Contents
require 'faraday_middleware' module DirectEmployers module Connection private def connection Faraday.new(:url => 'http://www.jobcentral.com') do |connection| connection.use Faraday::Request::UrlEncoded connection.use Faraday::Response::RaiseError connection.use Faraday::Response::Rashify connection.use Faraday::Response::ParseXml connection.adapter(Faraday.default_adapter) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
direct_employers-0.0.1 | lib/direct_employers/connection.rb |