Sha256: 272d2b0907d585a5ac1472eece962ab76f70a27eb2e5ac35d49dd575cb103ea5

Contents?: true

Size: 525 Bytes

Versions: 39

Compression:

Stored size: 525 Bytes

Contents

module Fog
  module Orchestration
    class OpenStack
      class Real
        def show_stack_details(name, id)
          request(
            :method  => 'GET',
            :path    => "stacks/#{name}/#{id}",
            :expects => 200
          )
        end
      end

      class Mock
        def show_stack_details(_name, _id)
          stack = data[:stack].values

          Excon::Response.new(
            :body   => {'stack' => stack},
            :status => 200
          )
        end
      end
    end
  end
end

Version data entries

39 entries across 37 versions & 3 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.10 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.1.30 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.1.29 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.9 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.1.28 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.8 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.7 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.6 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.5 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.4 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.3 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.2 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.3.0 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.2.4 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.2.3 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.2.2 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.2.1 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-openstack-0.2.0 lib/fog/orchestration/openstack/requests/show_stack_details.rb
fog-zj-0.1.28 lib/fog/orchestration/openstack/requests/show_stack_details.rb