8 9 10 11 12 13 14
# File 'lib/webmock/response.rb', line 8 def self.response_for(options) if options.respond_to?(:call) WebMock::DynamicResponse.new(options) else WebMock::Response.new(options) end end