Class: Fog::VPN::StormOnDemand::Vpn
- Defined in:
- lib/fog/storm_on_demand/models/vpn/vpn.rb
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Vpn
constructor
A new instance of Vpn.
- #update(options = {}) ⇒ Object
Methods inherited from Model
#inspect, #reload, #symbolize_keys, #to_json, #wait_for
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Core::DeprecatedConnectionAccessors
#connection, #connection=, #prepare_service_value
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #persisted?, #requires, #requires_one
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(={}) requires :identity service.update_vpn({:uniq_id => identity}.merge!()) end |