Class: Autovpn
- Inherits:
-
Object
- Object
- Autovpn
- Defined in:
- lib/imperituroard.rb
Instance Attribute Summary collapse
-
#mongo_connector ⇒ Object
Returns the value of attribute mongo_connector.
-
#vpn_connector ⇒ Object
Returns the value of attribute vpn_connector.
Instance Method Summary collapse
-
#initialize ⇒ Autovpn
constructor
A new instance of Autovpn.
- #vpn_add_msisdn_by_example(new_msisdn, example_msisdn) ⇒ Object
- #vpn_test ⇒ Object
Constructor Details
#initialize ⇒ Autovpn
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_connector ⇒ Object
Returns the value of attribute mongo_connector.
479 480 481 |
# File 'lib/imperituroard.rb', line 479 def mongo_connector @mongo_connector end |
#vpn_connector ⇒ Object
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_test ⇒ Object
490 491 492 |
# File 'lib/imperituroard.rb', line 490 def vpn_test vpn_connector.get_attr_by_example_msisdn("375297776403") end |