Class: Fog::VPN::StormOnDemand::Real
- Inherits:
-
Object
- Object
- Fog::VPN::StormOnDemand::Real
- Includes:
- StormOnDemand::RealShared
- Defined in:
- lib/fog/storm_on_demand/vpn.rb,
lib/fog/storm_on_demand/requests/vpn/get_vpn.rb,
lib/fog/storm_on_demand/requests/vpn/create_vpn.rb,
lib/fog/storm_on_demand/requests/vpn/update_vpn.rb,
lib/fog/storm_on_demand/requests/vpn/list_vpn_users.rb
Constant Summary
Constants included from StormOnDemand::RealShared
StormOnDemand::RealShared::API_URL, StormOnDemand::RealShared::API_VERSION
Instance Method Summary collapse
- #create_vpn(options = {}) ⇒ Object
- #get_vpn(options = {}) ⇒ Object
- #list_vpn_users(options = {}) ⇒ Object
- #update_vpn(options = {}) ⇒ Object
Methods included from StormOnDemand::RealShared
#initialize, #reload, #request
Instance Method Details
#create_vpn(options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/fog/storm_on_demand/requests/vpn/create_vpn.rb', line 6 def create_vpn(={}) request( :path => '/VPN/create', :body => Fog::JSON.encode(:params => ) ) end |
#get_vpn(options = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/fog/storm_on_demand/requests/vpn/get_vpn.rb', line 6 def get_vpn(={}) request( :path => '/VPN/details', :body => Fog::JSON.encode(:params => ) ) end |