Sha256: 733f6d0362d006514376a7b2eed2e724e00136f9eae9e13f4af0a33ecaa8163c
Contents?: true
Size: 634 Bytes
Versions: 33
Compression:
Stored size: 634 Bytes
Contents
module Fog module Network class OpenStack class Real def get_lbaas_pool(pool_id) request( :expects => [200], :method => 'GET', :path => "lbaas/pools/#{pool_id}" ) end end class Mock def get_lbaas_pool(pool_id) response = Excon::Response.new if data = self.data[:lbaas_pools][pool_id] response.status = 200 response.body = {'pool' => data} response else raise Fog::Network::OpenStack::NotFound end end end end end end
Version data entries
33 entries across 31 versions & 3 rubygems