Sha256: 26f98405ccf1225e49371246efe92ddcbba126a421f78071ad97ba4c7635e083

Contents?: true

Size: 291 Bytes

Versions: 2

Compression:

Stored size: 291 Bytes

Contents

# Hack to force persistent connections in fog
module Fog
  class Connection
    def initialize(url, persistent=false)
      @excon = Excon.new(url)
      @persistent = true
    end
  end
end

Fog::Compute::Brightbox::Real.class_eval do |klass|
  klass.send(:attr_accessor, :oauth_token)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brightbox-cli-0.13.1 lib/brightbox-cli/fog_extensions.rb
brightbox-cli-0.13.0 lib/brightbox-cli/fog_extensions.rb