Method: ServiceContract::AbstractProtocol#endpoint
- Defined in:
- lib/service_contract/abstract_protocol.rb
#endpoint(name) ⇒ Object
7 8 9 |
# File 'lib/service_contract/abstract_protocol.rb', line 7 def endpoint(name) endpoints.detect{|endpoint| endpoint.name == name} end |