Method: RabbitMq::Instance#update

Defined in:
lib/vas/rabbitmq/instances.rb

#update(installation) ⇒ void

This method returns an undefined value.

Updates the instance to use a different installation

Parameters:

  • installation (Installation)

    the installation that the instance should use



54
55
56
57
# File 'lib/vas/rabbitmq/instances.rb', line 54

def update(installation)
  client.post(location, { :installation => installation.location })
  reload
end