Class: SplitIoClient::Api::Metrics
- Defined in:
- lib/splitclient-rb/engine/api/metrics.rb
Constant Summary
Constants inherited from Client
Instance Method Summary collapse
-
#initialize(api_key, metrics_repository, config) ⇒ Metrics
constructor
A new instance of Metrics.
- #post ⇒ Object
Methods inherited from Client
Constructor Details
#initialize(api_key, metrics_repository, config) ⇒ Metrics
Returns a new instance of Metrics.
6 7 8 9 10 |
# File 'lib/splitclient-rb/engine/api/metrics.rb', line 6 def initialize(api_key, metrics_repository, config) super(config) @api_key = api_key @metrics_repository = metrics_repository end |
Instance Method Details
#post ⇒ Object
12 13 14 15 |
# File 'lib/splitclient-rb/engine/api/metrics.rb', line 12 def post post_latencies post_counts end |