Sha256: 772115dcadf8afedac96eac50f5a2aee36b912cefdd7cadd27cc6541e7a7e885

Contents?: true

Size: 526 Bytes

Versions: 42

Compression:

Stored size: 526 Bytes

Contents

module Fog
  module Workflow
    class OpenStack
      class V2
        class Real
          def delete_cron_trigger(name)
            request(
              :expects => 204,
              :method  => "DELETE",
              :path    => "cron_triggers/#{URI.encode(name)}"
            )
          end
        end

        class Mock
          def delete_cron_trigger(_name)
            response = Excon::Response.new
            response.status = 204
            response
          end
        end
      end
    end
  end
end

Version data entries

42 entries across 40 versions & 3 rubygems

Version Path
fog-openstack-0.1.9 lib/fog/openstack/requests/workflow_v2/delete_cron_trigger.rb
fog-openstack-0.1.8 lib/fog/openstack/requests/workflow_v2/delete_cron_trigger.rb