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
