Sha256: acaa5f99184ad712757b407cbfbb17df1cde7758f32ca333119fa622f5289b28

Contents?: true

Size: 549 Bytes

Versions: 132

Compression:

Stored size: 549 Bytes

Contents

module Fog
  module Compute
    class Clodo
      class Real
        def rebuild_server(id, image_id, vps_isp = nil)
          body = {'rebuild' => {'imageId' => image_id}}
          body['rebuild']['vps_isp'] = vps_isp if vps_isp
          server_action(id, body)
        end
      end

      class Mock
        def rebuild_server(id, image_id, vps_isp = nil)
          body = {'rebuild' => {'imageId' => image_id}}
          body['rebuild']['vps_isp'] = vps_isp if vps_isp
          server_action(id, body)
        end
      end
    end
  end
end

Version data entries

132 entries across 130 versions & 21 rubygems

Version Path
fog-2.3.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-ifeel-2.2.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-2.2.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-2.1.0 lib/fog/clodo/requests/compute/rebuild_server.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/lib/fog/clodo/requests/compute/rebuild_server.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/lib/fog/clodo/requests/compute/rebuild_server.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.42.1 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-2.0.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.42.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.41.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.40.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.39.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.38.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.37.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.36.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.35.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-2.0.0.pre.0 lib/fog/clodo/requests/compute/rebuild_server.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.34.0 lib/fog/clodo/requests/compute/rebuild_server.rb