Class: IwagDbCache
- Inherits:
-
Object
- Object
- IwagDbCache
- Defined in:
- lib/imperituroard/platforms/iwag/iwag_database_worker.rb
Instance Attribute Summary collapse
-
#db_host ⇒ Object
Returns the value of attribute db_host.
-
#db_login ⇒ Object
Returns the value of attribute db_login.
-
#db_password ⇒ Object
Returns the value of attribute db_password.
Instance Method Summary collapse
- #check_db_exists(ip) ⇒ Object
-
#initialize(db_host, db_login, db_password) ⇒ IwagDbCache
constructor
A new instance of IwagDbCache.
- #insert_new_cache ⇒ Object
Constructor Details
#initialize(db_host, db_login, db_password) ⇒ IwagDbCache
Returns a new instance of IwagDbCache.
7 8 9 10 11 |
# File 'lib/imperituroard/platforms/iwag/iwag_database_worker.rb', line 7 def initialize(db_host, db_login, db_password) @db_host = db_host @db_login = db_login @db_password = db_password end |
Instance Attribute Details
#db_host ⇒ Object
Returns the value of attribute db_host.
5 6 7 |
# File 'lib/imperituroard/platforms/iwag/iwag_database_worker.rb', line 5 def db_host @db_host end |
#db_login ⇒ Object
Returns the value of attribute db_login.
5 6 7 |
# File 'lib/imperituroard/platforms/iwag/iwag_database_worker.rb', line 5 def db_login @db_login end |
#db_password ⇒ Object
Returns the value of attribute db_password.
5 6 7 |
# File 'lib/imperituroard/platforms/iwag/iwag_database_worker.rb', line 5 def db_password @db_password end |
Instance Method Details
#check_db_exists(ip) ⇒ Object
13 14 15 |
# File 'lib/imperituroard/platforms/iwag/iwag_database_worker.rb', line 13 def check_db_exists(ip) end |
#insert_new_cache ⇒ Object
18 19 20 |
# File 'lib/imperituroard/platforms/iwag/iwag_database_worker.rb', line 18 def insert_new_cache end |