Sha256: 8b28b1e1e25a7f60b1182667a69367fdf2580feae9f3fa55316813d1e1eff4dd

Contents?: true

Size: 642 Bytes

Versions: 4

Compression:

Stored size: 642 Bytes

Contents

module Fog
  module Compute
    class Gridscale
      class Real

        def snapshot_schedule_delete(object_uuid)

          storage_uuid = object_uuid[:storage_uuid]
          snapshot_schedule_uuid = object_uuid[:snapshot_schedule_uuid]

          request(
              :expects         => [204],
              :headers         => {
                  'Content-Type' => "application/json; charset=UTF-8",
              },
              :method          => 'DELETE',
              :path            => "objects/storages/#{storage_uuid}/snapshot_schedules/#{snapshot_schedule_uuid}",
              )
        end

      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-gridscale-0.1.5 lib/fog/compute/gridscale/requests/snapshot_schedule_delete.rb
fog-gridscale-0.1.4 lib/fog/compute/gridscale/requests/snapshot_schedule_delete.rb
fog-gridscale-0.1.3 lib/fog/compute/gridscale/requests/snapshot_schedule_delete.rb
fog-gridscale-0.1.2 lib/fog/compute/gridscale/requests/snapshot_schedule_delete.rb