Sha256: ee361d97303eab10ef4be5eb09f559372cf5e0b4508e415bde385127c2fbf404
Contents?: true
Size: 313 Bytes
Versions: 15
Compression:
Stored size: 313 Bytes
Contents
module ServiceContract AbstractProtocol = Struct.new(:name, :service) do def endpoints [] end def endpoint(name) endpoints.detect{|endpoint| endpoint.name == name} end def types [] end def type(name) types.detect{|type| type.name == name} end end end
Version data entries
15 entries across 15 versions & 1 rubygems