Class: Fog::VPN::StormOnDemand::Vpn
- Inherits:
-
Model
- Object
- Model
- Fog::VPN::StormOnDemand::Vpn
- Defined in:
- lib/fog/storm_on_demand/models/vpn/vpn.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Vpn
constructor
A new instance of Vpn.
- #update(options = {}) ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Vpn
Returns a new instance of Vpn.
17 18 19 |
# File 'lib/fog/storm_on_demand/models/vpn/vpn.rb', line 17 def initialize(attributes={}) super end |
Instance Method Details
#update(options = {}) ⇒ Object
21 22 23 24 |
# File 'lib/fog/storm_on_demand/models/vpn/vpn.rb', line 21 def update(={}) requires :identity service.update_vpn({:uniq_id => identity}.merge!()) end |