Class: Cassie::ConnectionHandler::Logging::ClusterConnectEvent
- Inherits:
-
ActiveSupport::Notifications::Event
- Object
- ActiveSupport::Notifications::Event
- Cassie::ConnectionHandler::Logging::ClusterConnectEvent
- Defined in:
- lib/cassie/connection_handler/logging/cluster_connect_event.rb
Defined Under Namespace
Modules: Inspector
Instance Method Summary collapse
Instance Method Details
#hosts ⇒ Object
4 5 6 |
# File 'lib/cassie/connection_handler/logging/cluster_connect_event.rb', line 4 def hosts payload[:hosts] || [] end |
#ips ⇒ Object
8 9 10 |
# File 'lib/cassie/connection_handler/logging/cluster_connect_event.rb', line 8 def ips hosts.map{ |h| h.ip.to_s } end |