Sha256: f4761ce3fa29ab2b7045d1c528a7ccf0bdc5ce9afd7b729ce1ee851906ee5a50
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
require 'tester/definition/request' require 'tester/definition/response' require 'tester/reporter/status_code_report' require 'tester/reporter/missing_field_report' require 'tester/reporter/api_report' require 'json' class ApiMethod attr_accessor :request attr_accessor :expected_response def initialize self.request = Request.new self.expected_response = Response.new 200 end def verb "None" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
api-tester-0.0.4 | lib/tester/definition/methods/api_method.rb |
api-tester-0.0.3 | lib/tester/definition/methods/api_method.rb |