Sha256: 43a8eb287d22c61d77aee8303e86d14e542f075df22a92c47ca98214e2eb0c68

Contents?: true

Size: 306 Bytes

Versions: 13

Compression:

Stored size: 306 Bytes

Contents

module Fog
  module Compute
    class CloudSigma
      class Real
        def get_snapshot(snap_id)
          get_request("snapshots/#{snap_id}/")
        end
      end

      class Mock
        def get_snapshot(snap_id)
          mock_get(:snapshots, 200, snap_id)
        end
      end
    end
  end
end

Version data entries

13 entries across 11 versions & 3 rubygems

Version Path
fog-2.3.0 lib/fog/cloudsigma/requests/get_snapshot.rb
fog-ifeel-2.2.0 lib/fog/cloudsigma/requests/get_snapshot.rb
fog-2.2.0 lib/fog/cloudsigma/requests/get_snapshot.rb
fog-2.1.0 lib/fog/cloudsigma/requests/get_snapshot.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/lib/fog/cloudsigma/requests/get_snapshot.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/lib/fog/cloudsigma/requests/get_snapshot.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/lib/fog/cloudsigma/requests/get_snapshot.rb
fog-1.42.1 lib/fog/cloudsigma/requests/get_snapshot.rb
fog-2.0.0 lib/fog/cloudsigma/requests/get_snapshot.rb
fog-1.42.0 lib/fog/cloudsigma/requests/get_snapshot.rb
fog-1.41.0 lib/fog/cloudsigma/requests/get_snapshot.rb
fog-1.40.0 lib/fog/cloudsigma/requests/get_snapshot.rb
fog-1.39.0 lib/fog/cloudsigma/requests/get_snapshot.rb