Class: Ukaz60Dns_2

Inherits:
Object
  • Object
show all
Defined in:
lib/imperituroard/projects/ukaz60/dns_update.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) ⇒ Ukaz60Dns_2

Returns a new instance of Ukaz60Dns_2.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 32

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
)
  @telegram_messanger = Telegram_2.new(telegram_api_url, telegram_chat_id)
  @work_directory = work_directory
  @filename_blocked = filename_blocked
  @filename_tmp_blocked = filename_tmp_blocked
  @ip_for_redirect = ip_for_redirect
  @add_bl_memory_script = add_bl_memory_script
  @del_bl_memory_script = del_bl_memory_script
  @blo = 0
  @unblo = 0
end

Instance Attribute Details

#add_bl_memory_scriptObject

Returns the value of attribute add_bl_memory_script.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def add_bl_memory_script
  @add_bl_memory_script
end

#belgim_loginObject

Returns the value of attribute belgim_login.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def 
  @belgim_login
end

#belgim_passwordObject

Returns the value of attribute belgim_password.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def belgim_password
  @belgim_password
end

#belgim_urlObject

Returns the value of attribute belgim_url.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def belgim_url
  @belgim_url
end

#bloObject

Returns the value of attribute blo.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def blo
  @blo
end

#del_bl_memory_scriptObject

Returns the value of attribute del_bl_memory_script.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def del_bl_memory_script
  @del_bl_memory_script
end

#dns_loginObject

Returns the value of attribute dns_login.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def 
  @dns_login
end

#dns_passwordObject

Returns the value of attribute dns_password.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def dns_password
  @dns_password
end

#filename_blockedObject

Returns the value of attribute filename_blocked.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def filename_blocked
  @filename_blocked
end

#filename_tmp_blockedObject

Returns the value of attribute filename_tmp_blocked.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def filename_tmp_blocked
  @filename_tmp_blocked
end

#ip_for_redirectObject

Returns the value of attribute ip_for_redirect.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def ip_for_redirect
  @ip_for_redirect
end

#telegram_messangerObject

Returns the value of attribute telegram_messanger.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def telegram_messanger
  @telegram_messanger
end

#unbloObject

Returns the value of attribute unblo.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def unblo
  @unblo
end

#work_directoryObject

Returns the value of attribute work_directory.



17
18
19
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17

def work_directory
  @work_directory
end