Interceptor injection pattern with ruby 2.1 refinements I’ll introduce a new pattern for testing, against external APIs (like HTTP#get) with ruby 2.1 refinements instead of Dependency Injection. “Interceptor Injection pattern” is a word coined by me. Better idea for this pattern is always welcome. codeOur application or libraries call many external APIs, which is not under control by us. These may