Method: Cluster#service

Defined in:
lib/cluster.rb

#service(roles) ⇒ Object


48
49
50
51
# File 'lib/cluster.rb', line 48

def service(roles)
  res = services(roles)
  res.empty? ? nil : res.first
end