Method: Updater::ORM::ClassMethods#setup
- Defined in:
- lib/updater/orm/orm.rb
#setup(options) ⇒ Object
This method is the generic way to setup the datastore. Options is a hash one of whose fields will be :logger, the logger instance to pass on to the ORM. The rest of the options are ORM spesific. The function should prepair a connection to the datastore using the given options. If the connection cannot be prepaired then an appropriate error should be raised.
224 225 226 |
# File 'lib/updater/orm/orm.rb', line 224 def setup() NotImplementedError end |