Class: Ey::Core::Client::LogicalDatabases

Inherits:
Ey::Core::Collection show all
Defined in:
lib/ey-core/collections/logical_databases.rb

Instance Method Summary collapse

Methods inherited from Ey::Core::Collection

#==, #all, #collection_request, #collection_root, #create!, #each_entry, #each_page, #first, #get, #get!, #last_page, #load, #model_request, #model_root, #new_page, #next_page, #one, #page_parameters, #perform_get, #previous_page

Instance Method Details

#bootstrap(_params) ⇒ Object



11
12
13
14
15
# File 'lib/ey-core/collections/logical_databases.rb', line 11

def bootstrap(_params)
  params = Cistern::Hash.slice(_params, :provider, :database_service, :cluster_components, :logical_database, :database_server)

  connection.requests.new(self.connection.bootstrap_logical_database(params).body["request"])
end