Sha256: 7588b874a34115604e117f99aaf89d093660ad0226f29c0f885c10c5272e4587

Contents?: true

Size: 506 Bytes

Versions: 7

Compression:

Stored size: 506 Bytes

Contents

module Fog
  module VPN
    class StormOnDemand
      class Vpn < Fog::Model
        identity :uniq_id
        attribute :active
        attribute :activeStatus
        attribute :current_users
        attribute :domain
        attribute :max_users
        attribute :network_range
        attribute :region_id
        attribute :vpn

        def update(options = {})
          requires :identity
          service.update_vpn({:uniq_id => identity}.merge!(options))
        end
      end
    end
  end
end

Version data entries

7 entries across 5 versions & 3 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-storm_on_demand-0.1.1/lib/fog/vpn/storm_on_demand/models/vpn.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-storm_on_demand-0.1.1/lib/fog/vpn/storm_on_demand/models/vpn.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-storm_on_demand-0.1.1/lib/fog/vpn/storm_on_demand/models/vpn.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-storm_on_demand-0.1.1/lib/fog/vpn/storm_on_demand/models/vpn.rb
fog-storm_on_demand-0.1.1 lib/fog/vpn/storm_on_demand/models/vpn.rb
fog-storm_on_demand-0.1.0 lib/fog/vpn/storm_on_demand/models/vpn.rb
fog-storm_on_demand-0.0.1 lib/fog/vpn/storm_on_demand/models/vpn.rb