Class: IwagDbCache

Inherits:
Object
  • Object
show all
Defined in:
lib/imperituroard/platforms/iwag/iwag_database_worker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_password)
  @db_host = db_host
  @db_login = 
  @db_password = db_password
end

Instance Attribute Details

#db_hostObject

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_loginObject

Returns the value of attribute db_login.



5
6
7
# File 'lib/imperituroard/platforms/iwag/iwag_database_worker.rb', line 5

def 
  @db_login
end

#db_passwordObject

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_cacheObject



18
19
20
# File 'lib/imperituroard/platforms/iwag/iwag_database_worker.rb', line 18

def insert_new_cache

end