Class: Ukaz60Dns_2
- Inherits:
-
Object
- Object
- Ukaz60Dns_2
- Defined in:
- lib/imperituroard/projects/ukaz60/dns_update.rb
Instance Attribute Summary collapse
-
#add_bl_memory_script ⇒ Object
Returns the value of attribute add_bl_memory_script.
-
#belgim_login ⇒ Object
Returns the value of attribute belgim_login.
-
#belgim_password ⇒ Object
Returns the value of attribute belgim_password.
-
#belgim_url ⇒ Object
Returns the value of attribute belgim_url.
-
#blo ⇒ Object
Returns the value of attribute blo.
-
#del_bl_memory_script ⇒ Object
Returns the value of attribute del_bl_memory_script.
-
#dns_login ⇒ Object
Returns the value of attribute dns_login.
-
#dns_password ⇒ Object
Returns the value of attribute dns_password.
-
#filename_blocked ⇒ Object
Returns the value of attribute filename_blocked.
-
#filename_tmp_blocked ⇒ Object
Returns the value of attribute filename_tmp_blocked.
-
#ip_for_redirect ⇒ Object
Returns the value of attribute ip_for_redirect.
-
#telegram_messanger ⇒ Object
Returns the value of attribute telegram_messanger.
-
#unblo ⇒ Object
Returns the value of attribute unblo.
-
#work_directory ⇒ Object
Returns the value of attribute work_directory.
Instance Method Summary collapse
-
#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
constructor
A new instance of Ukaz60Dns_2.
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_login, dns_password, belgim_login, 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_script ⇒ Object
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_login ⇒ Object
Returns the value of attribute belgim_login.
17 18 19 |
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17 def belgim_login @belgim_login end |
#belgim_password ⇒ Object
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_url ⇒ Object
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 |
#blo ⇒ Object
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_script ⇒ Object
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_login ⇒ Object
Returns the value of attribute dns_login.
17 18 19 |
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17 def dns_login @dns_login end |
#dns_password ⇒ Object
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_blocked ⇒ Object
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_blocked ⇒ Object
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_redirect ⇒ Object
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_messanger ⇒ Object
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 |
#unblo ⇒ Object
Returns the value of attribute unblo.
17 18 19 |
# File 'lib/imperituroard/projects/ukaz60/dns_update.rb', line 17 def unblo @unblo end |
#work_directory ⇒ Object
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 |