Sha256: ba50a50fd514008e027d9d5410b59b18e65e69059b0b04ac2f26d17a92f650b5

Contents?: true

Size: 453 Bytes

Versions: 26

Compression:

Stored size: 453 Bytes

Contents

module Fog
  module Network
    extend Fog::ServicesMixin

    def self.new(orig_attributes)
      attributes = orig_attributes.dup # Prevent delete from having side effects
      provider = attributes.delete(:provider).to_s.downcase.to_sym

      if provider == :stormondemand
        require "fog/network/storm_on_demand"
        return Fog::Network::StormOnDemand.new(attributes)
      else
        super(orig_attributes)
      end
    end
  end
end

Version data entries

26 entries across 23 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-core-1.45.0/lib/fog/network.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-core-2.1.0/lib/fog/network.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-core-1.45.0/lib/fog/network.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-core-1.45.0/lib/fog/network.rb
fog-core-2.1.0 lib/fog/network.rb
fog-core-2.0.0 lib/fog/network.rb
fog-core-1.45.0 lib/fog/network.rb
fog-core-1.44.3 lib/fog/network.rb
fog-core-1.44.2 lib/fog/network.rb
fog-core-1.44.1 lib/fog/network.rb
fog-core-1.44.0 lib/fog/network.rb
fog-core-1.43.0 lib/fog/network.rb
fog-core-1.42.0 lib/fog/network.rb
fog-core-1.41.0 lib/fog/network.rb
fog-core-1.40.1 lib/fog/network.rb
fog-core-1.40.0 lib/fog/network.rb
fog-core-1.39.0 lib/fog/network.rb
fog-core-1.38.0 lib/fog/network.rb
fog-core-1.37.0 lib/fog/network.rb
fog-core-1.36.0 lib/fog/network.rb