Sha256: 49c8b17ee2884cd38daf7b73dbabdffc28f991feefd6a34a6d1d36983aef64a3

Contents?: true

Size: 530 Bytes

Versions: 23

Compression:

Stored size: 530 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 = self.data[:stack].values

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

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
fog-openstack-0.1.10 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.9 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.8 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.7 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.6 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.5 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.4 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.3 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.2 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.1 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-openstack-0.1.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-1.37.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-1.36.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-1.35.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-2.0.0.pre.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-1.34.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-1.33.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-1.32.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb
fog-1.31.0 lib/fog/openstack/requests/orchestration/show_stack_details.rb