Sha256: eb59fca754b6fc621284b31656af609be22104350ececa024ebf7c13d15ab340

Contents?: true

Size: 243 Bytes

Versions: 1

Compression:

Stored size: 243 Bytes

Contents

require 'faraday'
module DOF
  def self.connection
    Faraday.new(url: DOF.base_uri ) do |faraday|
      faraday.response :logger
      faraday.adapter Faraday.default_adapter
      faraday.use Faraday::Response::RaiseError
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dof-1.0.0 lib/DOF/connection.rb