Sha256: 1ec8f0d88ab9ec80de3bce435854d92cef4d3e28e4c93b37df3cbfe7fa0f426b

Contents?: true

Size: 335 Bytes

Versions: 8

Compression:

Stored size: 335 Bytes

Contents

module Dirigible
  # @private
  module Connection
    private
    def connection
      options = { ssl: { verify: true }, proxy: proxy }
      Faraday.new(endpoint, options) do |faraday|
        faraday.request(:json)
        faraday.basic_auth(app_key, master_secret)
        faraday.adapter(http_adapter)
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dirigible-1.1.3 lib/dirigible/connection.rb
dirigible-1.1.2 lib/dirigible/connection.rb
dirigible-1.1.1 lib/dirigible/connection.rb
dirigible-1.1.0 lib/dirigible/connection.rb
dirigible-1.0.4 lib/dirigible/connection.rb
dirigible-1.0.3 lib/dirigible/connection.rb
dirigible-0.0.2 lib/dirigible/connection.rb
dirigible-0.0.1 lib/dirigible/connection.rb