Parent

Methods

Class/Module Index [+]

Quicksearch

WebMock::ResponseFactory

Public Class Methods

response_for(options) click to toggle source
# File lib/webmock/response.rb, line 9
def self.response_for(options)
  if options.respond_to?(:call)
    WebMock::DynamicResponse.new(options)
  else
    WebMock::Response.new(options)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.