Sha256: 826ae21ee491b0c5edcdebebd99b21a79671470908300fb65af898bf6270db5b

Contents?: true

Size: 459 Bytes

Versions: 4

Compression:

Stored size: 459 Bytes

Contents

require 'api-tester/reporter/report'

module ApiTester
  class StatusCodeReport < Report
    attr_accessor :expected_status_code
    attr_accessor :actual_status_code

    def initialize description, url, request, expected_status_code, actual_status_code
      super description, url, request, expected_status_code, actual_status_code
      self.expected_status_code = expected_status_code
      self.actual_status_code = actual_status_code
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
api-tester-1.0.0 lib/api-tester/reporter/status_code_report.rb
api-tester-0.3.1 lib/api-tester/reporter/status_code_report.rb
api-tester-0.3.0 lib/api-tester/reporter/status_code_report.rb
api-tester-0.2.0 lib/api-tester/reporter/status_code_report.rb