Sha256: cf173982ce4bd7811c9a57c224f0c710e4dac3419e38e47278c8a4238ec68f82
Contents?: true
Size: 254 Bytes
Versions: 2
Compression:
Stored size: 254 Bytes
Contents
module ApiTester class ApiContract attr_accessor :name attr_accessor :endpoints def initialize name self.name = name self.endpoints = [] end def add_endpoint endpoint self.endpoints << endpoint end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
api-tester-0.3.0 | lib/api-tester/definition/api_contract.rb |
api-tester-0.2.0 | lib/api-tester/definition/api_contract.rb |