Sha256: e6106b96f37455ea4e841b35ef7c075f30118e4bcc014a0d7914a892ccbf2888

Contents?: true

Size: 544 Bytes

Versions: 14

Compression:

Stored size: 544 Bytes

Contents

module Fog
  module Openstack
    class Planning
      class Real
        def delete_plan(plan_uuid)
          request(
            :expects => [204],
            :method  => 'DELETE',
            :path    => "plans/#{plan_uuid}"
          )
        end
      end # class Real

      class Mock
        def delete_plan(_plan_uuid)
          response = Excon::Response.new
          response.status = 204
          response
        end # def delete_plans
      end # class Mock
    end # class Planning
  end # module Openstack
end # module Fog

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-openstack-0.1.25 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.24 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.23 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.22 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.21 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.20 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.19 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.18 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.17 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.15 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.14 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.13 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.12 lib/fog/planning/openstack/requests/delete_plan.rb
fog-openstack-0.1.11 lib/fog/planning/openstack/requests/delete_plan.rb