Method: Pantry::Communication::ClientFilter#stream

Defined in:
lib/pantry/communication/client_filter.rb

#streamObject

Return the most specific stream that matches this ClientFilter. identity is chosen above all others.



69
70
71
72
73
74
75
# File 'lib/pantry/communication/client_filter.rb', line 69

def stream
  if @identity
    @identity
  else
    [@application, @environment, @roles.first].compact.join(".")
  end
end