Sha256: 88c70ade44cc48c9e9b6a68441eddfa406aa5a92dcb7f5924b0faf782d940630
Contents?: true
Size: 640 Bytes
Versions: 22
Compression:
Stored size: 640 Bytes
Contents
module Fog module OpenStack class Network class Real def get_lb_member(member_id) request( :expects => [200], :method => 'GET', :path => "lb/members/#{member_id}" ) end end class Mock def get_lb_member(member_id) response = Excon::Response.new if data = self.data[:lb_members][member_id] response.status = 200 response.body = {'member' => data} response else raise Fog::OpenStack::Network::NotFound end end end end end end
Version data entries
22 entries across 22 versions & 3 rubygems