Class: Dns_2

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(telegram_api_url, telegram_chat_id, work_directory, filename_blocked, filename_tmp_blocked, ip_for_redirect, add_bl_memory_script, del_bl_memory_script, dns_login, dns_password, belgim_login, belgim_password, belgim_url) ⇒ Dns_2

Returns a new instance of Dns_2.



8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/imperituroard/projects/dns.rb', line 8

def initialize(telegram_api_url,
               telegram_chat_id,
               work_directory,
               filename_blocked,
               filename_tmp_blocked,
               ip_for_redirect,
               add_bl_memory_script,
               del_bl_memory_script,
               ,
               dns_password,
               ,
               belgim_password,
               belgim_url)

  @ukaz69_dns_func = Ukaz60Dns_2.new(telegram_api_url,
                                     telegram_chat_id,
                                     work_directory,
                                     filename_blocked,
                                     filename_tmp_blocked,
                                     ip_for_redirect,
                                     add_bl_memory_script,
                                     del_bl_memory_script,
                                     ,
                                     dns_password,
                                     ,
                                     belgim_password,
                                     belgim_url)
end

Instance Attribute Details

#ukaz69_dns_funcObject

Returns the value of attribute ukaz69_dns_func.



6
7
8
# File 'lib/imperituroard/projects/dns.rb', line 6

def ukaz69_dns_func
  @ukaz69_dns_func
end

Instance Method Details

#ukaz60_dns_autoupdateObject



38
39
40
# File 'lib/imperituroard/projects/dns.rb', line 38

def ukaz60_dns_autoupdate()

end