Class: AutovpnClass
- Inherits:
-
Object
- Object
- AutovpnClass
- Defined in:
- lib/imperituroard/projects/autovpn.rb
Instance Attribute Summary collapse
-
#mongo_client ⇒ Object
Returns the value of attribute mongo_client.
Instance Method Summary collapse
- #get_attr_by_example_msisdn(example_msisdn) ⇒ Object
-
#initialize ⇒ AutovpnClass
constructor
A new instance of AutovpnClass.
- #vpn_add_msisdn_by_example_2(new_msisdn, example_msisdn) ⇒ Object
Constructor Details
#initialize ⇒ AutovpnClass
Returns a new instance of AutovpnClass.
7 8 9 |
# File 'lib/imperituroard/projects/autovpn.rb', line 7 def initialize @mongo_client = MongoVpn.new end |
Instance Attribute Details
#mongo_client ⇒ Object
Returns the value of attribute mongo_client.
5 6 7 |
# File 'lib/imperituroard/projects/autovpn.rb', line 5 def mongo_client @mongo_client end |
Instance Method Details
#get_attr_by_example_msisdn(example_msisdn) ⇒ Object
15 16 17 |
# File 'lib/imperituroard/projects/autovpn.rb', line 15 def get_attr_by_example_msisdn(example_msisdn) mongo_client.get_mongo_msisdn(example_msisdn) end |
#vpn_add_msisdn_by_example_2(new_msisdn, example_msisdn) ⇒ Object
11 12 13 |
# File 'lib/imperituroard/projects/autovpn.rb', line 11 def vpn_add_msisdn_by_example_2(new_msisdn, example_msisdn) end |