lib/tester/definition/methods/api_method.rb in api-tester-0.0.4 vs lib/tester/definition/methods/api_method.rb in api-tester-0.0.5
- old
+ new
@@ -1,18 +1,19 @@
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 call
+ throw "Not implemented"
end
def verb
"None"
end