Sha256: df753788125343eff13d96138b2c6911f65857601c2292e8a676997c791dcd3c
Contents?: true
Size: 471 Bytes
Versions: 26
Compression:
Stored size: 471 Bytes
Contents
module Fog module Account extend Fog::ServicesMixin def self.new(orig_attributes) attributes = orig_attributes.dup provider = attributes.delete(:provider).to_s.downcase.to_sym if provider == :stormondemand require "fog/account/storm_on_demand" Fog::Account::StormOnDemand.new(attributes) else super(orig_attributes) end end def self.providers Fog.services[:account] || [] end end end
Version data entries
26 entries across 23 versions & 3 rubygems