Class: Kontena::Cli::Models::Grid::Stats
- Inherits:
-
Object
- Object
- Kontena::Cli::Models::Grid::Stats
- Includes:
- MasterApiModel
- Defined in:
- lib/kontena/cli/models/grid.rb
Defined Under Namespace
Classes: Statsd
Instance Attribute Summary
Attributes included from MasterApiModel
Instance Method Summary collapse
Methods included from MasterApiModel
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Kontena::Cli::Models::MasterApiModel
Instance Method Details
#statsd ⇒ Object
12 13 14 |
# File 'lib/kontena/cli/models/grid.rb', line 12 def statsd @statsd ||= Statsd.new(@api_data.dig('statsd', 'server'), @api_data.dig('statsd', 'port')) end |