Class: Fog::Rackspace::Monitoring::Metric

Inherits:
Base
  • Object
show all
Defined in:
lib/fog/rackspace/models/monitoring/metric.rb

Instance Method Summary collapse

Methods inherited from Base

#compare?, #hash

Instance Method Details

#datapoints(options = {}) ⇒ Object


11
12
13
14
15
16
17
18
# File 'lib/fog/rackspace/models/monitoring/metric.rb', line 11

def datapoints(options={})
  @datapoints ||= begin
    Fog::Rackspace::Monitoring::DataPoints.new(
      :metric        => self,
      :service       => service
    )
  end
end