Sha256: e95f29845385edef28c75232598a2816fdb5817d6b49d2ade76e357316b57298
Contents?: true
Size: 715 Bytes
Versions: 20
Compression:
Stored size: 715 Bytes
Contents
module Fog module OpenStack class Network class Real def get_lbaas_healthmonitor(healthmonitor_id) request( :expects => [200], :method => 'GET', :path => "lbaas/healthmonitors/#{healthmonitor_id}" ) end end class Mock def get_lbaas_healthmonitor(healthmonitor_id) response = Excon::Response.new if data = self.data[:lbaas_healthmonitors][healthmonitor_id] response.status = 200 response.body = {'healthmonitor' => data} response else raise Fog::OpenStack::Network::NotFound end end end end end end
Version data entries
20 entries across 20 versions & 3 rubygems