Class: AutovpnClass

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAutovpnClass

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_clientObject

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