module Fog::VPN
Public Class Methods
new(orig_attributes)
click to toggle source
Calls superclass method
# File lib/fog/vpn.rb, line 5 def self.new(orig_attributes) attributes = orig_attributes.dup provider = attributes.delete(:provider).to_s.downcase.to_sym if provider == :stormondemand require "fog/vpn/storm_on_demand" Fog::VPN::StormOnDemand.new(attributes) else super(orig_attributes) end end