class WebMock::HttpLibAdapters::ManticoreAdapter
def self.disable!
def self.disable! Manticore.send(:remove_const, :Client) Manticore.send(:const_set, :Client, OriginalManticoreClient) Manticore.instance_variable_set(:@manticore_facade, OriginalManticoreClient.new) end
def self.enable!
def self.enable! Manticore.send(:remove_const, :Client) Manticore.send(:const_set, :Client, WebMockManticoreClient) Manticore.instance_variable_set(:@manticore_facade, WebMockManticoreClient.new) end