Sha256: bb597e2805306d75f3283cc34346840c7966538ac734eefac52fdd7f6b6ce092
Contents?: true
Size: 649 Bytes
Versions: 36
Compression:
Stored size: 649 Bytes
Contents
require 'fog/joyent/models/analytics/transformation' module Fog module Joyent class Analytics class Transformations < Fog::Collection model Fog::Joyent::Analytics::Transformation def all data = service.describe_analytics.body['transformations'] load(data) end # Joyent returns an odd data structure like this: # { 'apache' => {'label' => 'Apache'}} # 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
Version data entries
36 entries across 34 versions & 6 rubygems