Parent

Methods

Files

WebMock::ResponseFactory

Public Class Methods

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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.