class Fog::OpenStack::Monitoring::Metric
Public Instance Methods
create()
click to toggle source
# File lib/fog/openstack/monitoring/models/metric.rb, line 19 def create requires :name, :timestamp, :value service.create_metric(attributes).body['metric'] self end
to_s()
click to toggle source
# File lib/fog/openstack/monitoring/models/metric.rb, line 15 def to_s name end