Sha256: 864b8d745aa8806c94be564525a26b97988f01fbd707793846efb46712798eac

Contents?: true

Size: 426 Bytes

Versions: 15

Compression:

Stored size: 426 Bytes

Contents

module Linode

  def self.[](service)
    @@connections ||= Hash.new do |hash, key|
      credentials = Fog.credentials.reject do |k,v|
        ![:linode_api_key].include?(k)
      end
      hash[key] = case key
      when :linode
        Fog::Linode.new(credentials)
      end
    end
    @@connections[service]
  end

  module Formats

    BASIC = {
      'ERRORARRAY'  => [],
      'ACTION'      => String
    }

  end

end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
fog-0.2.30 tests/linode/helper.rb
fog-0.2.28 tests/linode/helper.rb
fog-0.2.27 tests/linode/helper.rb
fog-0.2.26 tests/linode/helper.rb
fog-0.2.25 tests/linode/helper.rb
fog-0.2.24 tests/linode/helper.rb
tecnh-fog-0.2.23.vpc tests/linode/helper.rb
fog-0.2.23 tests/linode/helper.rb
fog-0.2.22 tests/linode/helper.rb
fog-0.2.21 tests/linode/helper.rb
fog-0.2.20 tests/linode/helper.rb
fog-0.2.19 tests/linode/helper.rb
fog-0.2.18 tests/linode/helper.rb
fog-0.2.17 tests/linode/helper.rb
fog-0.2.16 tests/linode/helper.rb