Class: Autovpn

Inherits:
Object
  • Object
show all
Defined in:
lib/imperituroard.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAutovpn

Returns a new instance of Autovpn.



481
482
483
484
# File 'lib/imperituroard.rb', line 481

def initialize
  @mongo_connector = MongoVpn.new
  @vpn_connector = AutovpnClass.new
end

Instance Attribute Details

#mongo_connectorObject

Returns the value of attribute mongo_connector.



479
480
481
# File 'lib/imperituroard.rb', line 479

def mongo_connector
  @mongo_connector
end

#vpn_connectorObject

Returns the value of attribute vpn_connector.



479
480
481
# File 'lib/imperituroard.rb', line 479

def vpn_connector
  @vpn_connector
end

Instance Method Details

#vpn_add_msisdn_by_example(new_msisdn, example_msisdn) ⇒ Object



486
487
488
# File 'lib/imperituroard.rb', line 486

def vpn_add_msisdn_by_example(new_msisdn, example_msisdn)
  vpn_connector.vpn_add_msisdn_by_example_2(new_msisdn, example_msisdn)
end

#vpn_testObject



490
491
492
# File 'lib/imperituroard.rb', line 490

def vpn_test
  vpn_connector.get_attr_by_example_msisdn("375297776403")
end