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-1.33.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.32.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.31.0 lib/fog/clodo/requests/compute/rebuild_server.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.30.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.29.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.28.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.27.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.26.0 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.25.0 lib/fog/clodo/requests/compute/rebuild_server.rb
nsidc-fog-1.24.1 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.24.0 lib/fog/clodo/requests/compute/rebuild_server.rb
ns-fog-1.22.11 lib/fog/clodo/requests/compute/rebuild_server.rb
ns-fog-1.22.10 lib/fog/clodo/requests/compute/rebuild_server.rb
ns-fog-1.22.9 lib/fog/clodo/requests/compute/rebuild_server.rb
ns-fog-1.22.8 lib/fog/clodo/requests/compute/rebuild_server.rb
ns-fog-1.22.7 lib/fog/clodo/requests/compute/rebuild_server.rb
ns-fog-1.22.6 lib/fog/clodo/requests/compute/rebuild_server.rb
fog-1.23.0 lib/fog/clodo/requests/compute/rebuild_server.rb
ns-fog-1.22.4 lib/fog/clodo/requests/compute/rebuild_server.rb