Method: OEHClient::Config::SpaceManager#register_space
- Defined in:
- lib/oehclient/config/space_manager.rb
#register_space(space_config = {}) ⇒ Object
register_space is a wrapper method that converts the passed Hash object to an instance of the
OEHClient::Config::Space object, which is passed to the register method
16 17 18 19 20 21 |
# File 'lib/oehclient/config/space_manager.rb', line 16 def register_space(space_config={}) # Pass a new instance of the space object to the register_space method register(OEHClient::Config::Space.create(space_config)) end |