Sha256: 1a780ffe11b11f66f6bcdda8bff4700fcd05970ea68c4ca40ace44b45629586c
Contents?: true
Size: 251 Bytes
Versions: 2
Compression:
Stored size: 251 Bytes
Contents
module ApiTester class Contract 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-1.0.0 | lib/api-tester/definition/contract.rb |
api-tester-0.3.1 | lib/api-tester/definition/contract.rb |