Sha256: e291edf9bdd7e646be5aeebb8ef7efe4cac37b176bd8c3820cedad54dcf36fa4

Contents?: true

Size: 521 Bytes

Versions: 47

Compression:

Stored size: 521 Bytes

Contents

#
# Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>)
# © Copyright IBM Corporation 2014.
#
# LICENSE: MIT (http://opensource.org/licenses/MIT)
#

module Fog
  module Compute
    class Softlayer

      class Mock
        def get_key_pairs
          response = Excon::Response.new
          response.body = @key_pairs
          response.status = 200
          response
        end

      end

      class Real
        def get_key_pairs
          request(:account, :get_ssh_keys)
        end
      end
    end
  end
end

Version data entries

47 entries across 45 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-softlayer-1.1.4/lib/fog/softlayer/requests/compute/get_key_pairs.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-softlayer-1.1.4/lib/fog/softlayer/requests/compute/get_key_pairs.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-softlayer-1.1.4/lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.1.4 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.1.3 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.1.2 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.1.1 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.1.0 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.0.3 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.0.2 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.0.1 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-1.0.0 lib/fog/softlayer/requests/compute/get_key_pairs.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-softlayer-0.4.7/lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-0.4.7 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-0.4.6 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-0.4.5 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-0.4.4 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-0.4.3 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-0.4.2 lib/fog/softlayer/requests/compute/get_key_pairs.rb
fog-softlayer-0.4.2.pre lib/fog/softlayer/requests/compute/get_key_pairs.rb