Sha256: e61e45864be0601cdddb0dcc6399756398d5603eebc0e3b00393cc0a6ad468aa
Contents?: true
Size: 429 Bytes
Versions: 4
Compression:
Stored size: 429 Bytes
Contents
require 'faraday' module Visdiff class Config attr_accessor :base_url, :api_key, :debug def initialize end attr_writer :connection def connection @connection ||= Faraday.new(:url => base_url) do |faraday| faraday.request :multipart faraday.request :url_encoded faraday.response :logger if debug faraday.adapter Faraday.default_adapter end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
visdiff-0.0.7 | lib/visdiff/config.rb |
visdiff-0.0.6 | lib/visdiff/config.rb |
visdiff-0.0.5 | lib/visdiff/config.rb |
visdiff-0.0.4 | lib/visdiff/config.rb |