Sha256: 0d5e0d38ea6c4b242806ca575fc50468e95d3e75fa080b0736bd4ec78e6bb30d
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
require 'tester/definition/request' require 'tester/definition/response' 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
api-tester-0.0.5 | lib/tester/definition/methods/api_method.rb |