Class: Cure::DatabaseSource

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/cure/database.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#database_serviceObject (readonly)

Returns the value of attribute database_service.



28
29
30
# File 'lib/cure/database.rb', line 28

def database_service
  @database_service
end

Instance Method Details

#init_databaseObject



30
31
32
# File 'lib/cure/database.rb', line 30

def init_database
  @database_service = DatabaseService.new
end