Sha256: 317f60b32096f9d4eba9d8aafa92f86d34e7810242d49608d8f802194c89938f

Contents?: true

Size: 464 Bytes

Versions: 24

Compression:

Stored size: 464 Bytes

Contents

module Fog
  module Rackspace
    class Orchestration
      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
          response(:body => { 'stack' => stack })
        end
      end
    end
  end
end

Version data entries

24 entries across 22 versions & 4 rubygems

Version Path
fog-1.29.0 lib/fog/rackspace/requests/orchestration/show_stack_details.rb
fog-1.28.0 lib/fog/rackspace/requests/orchestration/show_stack_details.rb
fog-1.27.0 lib/fog/rackspace/requests/orchestration/show_stack_details.rb
fog-1.26.0 lib/fog/rackspace/requests/orchestration/show_stack_details.rb