lib/fog/joyent/models/analytics/fields.rb in fog-1.22.0 vs lib/fog/joyent/models/analytics/fields.rb in fog-1.22.1
- old
+ new
@@ -2,11 +2,10 @@
module Fog
module Joyent
class Analytics
class Fields < Fog::Collection
-
model Fog::Joyent::Analytics::Field
def all
data = service.describe_analytics.body['fields']
load(data)
@@ -17,10 +16,9 @@
# where the key is the name of the module
def new(attributes = {})
name, other_attributes = attributes
super(other_attributes.merge('name' => name))
end
-
end
end
end
end