Module: Roca::ConnectorHelper::ClassMethods

Included in:
Group, Template, TemplatePool, VirtualMachine, VirtualMachinePool
Defined in:
lib/roca/connector_helper.rb

Instance Method Summary collapse

Instance Method Details

#connectorObject



12
13
14
15
# File 'lib/roca/connector_helper.rb', line 12

def connector
  # todo: inject endpoint and session_string
  @connector ||= Connector.new(endpoint: endpoint, session_string: session_string)
end

#connector=(_connector) ⇒ Object



17
18
19
# File 'lib/roca/connector_helper.rb', line 17

def connector=(_connector)
  @connector = _connector
end