class Fitting::Storage::Responses
Public Class Methods
new()
click to toggle source
# File lib/fitting/storage/responses.rb, line 8 def initialize @tested_requests = [] end
Public Instance Methods
add(env_response, test_title = '')
click to toggle source
# File lib/fitting/storage/responses.rb, line 12 def add(env_response, test_title = '') @tested_requests.push(Fitting::Records::Tested::Request.new(env_response, test_title)) end
statistics()
click to toggle source
# File lib/fitting/storage/responses.rb, line 16 def statistics Fitting::Statistics.new(@tested_requests) end
tests()
click to toggle source
# File lib/fitting/storage/responses.rb, line 20 def tests Fitting::Tests.new(@tested_requests) end