Sha256: f8a24850b691db89de710132bb633491582f0d541416cb34a08b64ed191d2a73
Contents?: true
Size: 715 Bytes
Versions: 33
Compression:
Stored size: 715 Bytes
Contents
module Fog module Network class OpenStack 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::Network::OpenStack::NotFound end end end end end end
Version data entries
33 entries across 31 versions & 3 rubygems