Class: Fog::VPN::StormOnDemand::Vpn

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/storm_on_demand/models/vpn/vpn.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Vpn

Returns a new instance of Vpn.



18
19
20
# File 'lib/fog/storm_on_demand/models/vpn/vpn.rb', line 18

def initialize(attributes={})
  super
end

Instance Method Details

#update(options = {}) ⇒ Object



22
23
24
25
# File 'lib/fog/storm_on_demand/models/vpn/vpn.rb', line 22

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