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