lib/api-tester/definition/method.rb in api-tester-1.1.1 vs lib/api-tester/definition/method.rb in api-tester-1.1.2
- old
+ new
@@ -1,12 +1,10 @@
# frozen_string_literal: true
module ApiTester
# Class for defining methods as part of an endpoint
class Method
- attr_accessor :request
- attr_accessor :expected_response
- attr_accessor :verb
+ attr_accessor :request, :expected_response, :verb
def initialize(verb:, response:, request:)
self.verb = verb
self.request = request
self.expected_response = response