module Excon
def mock=(new_mock)
false is the default and works as expected
Change the status of mocking
def mock=(new_mock) puts("Excon#mock is deprecated, pass Excon.defaults[:mock]= instead (#{caller.first})") self.defaults[:mock] = new_mock end