From 11b28cd780b4086f5ad9cab201f5fd73e6318f40 Mon Sep 17 00:00:00 2001 From: Kevin Olbrich Date: Thu, 12 Dec 2013 18:29:03 +0000 Subject: [PATCH] add 'types' --- lib/fog/joyent/analytics.rb | 3 +++ lib/fog/joyent/models/analytics/type.rb | 0 lib/fog/joyent/models/analytics/types.rb | 0 3 files changed, 3 insertions(+) create mode 100644 lib/fog/joyent/models/analytics/type.rb create mode 100644 lib/fog/joyent/models/analytics/types.rb diff --git a/lib/fog/joyent/analytics.rb b/lib/fog/joyent/analytics.rb index 498b37174..394056d49 100644 --- a/lib/fog/joyent/analytics.rb +++ b/lib/fog/joyent/analytics.rb @@ -30,6 +30,9 @@ module Fog collection :fields model :field + collection :types + model :type + class Mock def self.data @data ||= Hash.new do |hash, key| diff --git a/lib/fog/joyent/models/analytics/type.rb b/lib/fog/joyent/models/analytics/type.rb new file mode 100644 index 000000000..e69de29bb diff --git a/lib/fog/joyent/models/analytics/types.rb b/lib/fog/joyent/models/analytics/types.rb new file mode 100644 index 000000000..e69de29bb