Class: Ey::Core::Client::DatabaseServerSnapshots
- Inherits:
-
Ey::Core::Collection
- Object
- Cistern::Collection
- Ey::Core::Collection
- Ey::Core::Client::DatabaseServerSnapshots
- Defined in:
- lib/ey-core/collections/database_server_snapshots.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
#discover(provider) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/ey-core/collections/database_server_snapshots.rb', line 10 def discover(provider) params = { "provider" => provider.is_a?(Ey::Core::Client::Provider) ? provider.id : provider } connection.requests.new(connection.discover_database_server_snapshots(params).body["request"]) end |