Class: Cure::DatabaseSource
- Inherits:
-
Object
- Object
- Cure::DatabaseSource
- Includes:
- Singleton
- Defined in:
- lib/cure/database.rb
Instance Attribute Summary collapse
-
#database_service ⇒ Object
readonly
Returns the value of attribute database_service.
Instance Method Summary collapse
Instance Attribute Details
#database_service ⇒ Object (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_database ⇒ Object
30 31 32 |
# File 'lib/cure/database.rb', line 30 def init_database @database_service = DatabaseService.new end |