mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00

Done with `rubocop --auto-correct --only EmptyLineBetweenDefs,EmptyLines,EmptyLinesAroundBody`
16 lines
314 B
Ruby
16 lines
314 B
Ruby
require 'fog/joyent/models/analytics/metric'
|
|
|
|
module Fog
|
|
module Joyent
|
|
class Analytics
|
|
class Metrics < Fog::Collection
|
|
model Fog::Joyent::Analytics::Metric
|
|
|
|
def all
|
|
data = service.describe_analytics.body['metrics']
|
|
load(data)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|