Method: Consult::TemplateFunctions#service
- Defined in:
- lib/consult/template_functions.rb
#service(key, scope: :all, options: {}, meta: {}) ⇒ Object
Consul
19 20 21 |
# File 'lib/consult/template_functions.rb', line 19 def service(key, scope: :all, options: {}, meta: {}) Diplomat::Service.get(key, scope, , ) end |