Sha256: e3671322f9d5cca3fb8c831199548a3fa89603a1ac544b926b728f7f0616b72b

Contents?: true

Size: 595 Bytes

Versions: 54

Compression:

Stored size: 595 Bytes

Contents

class Ey::Core::Client::DatabaseServerSnapshots < Ey::Core::Collection

  model Ey::Core::Client::DatabaseServerSnapshot

  self.model_root         = "database_server_snapshot"
  self.model_request      = :get_database_server_snapshot
  self.collection_root    = "database_server_snapshots"
  self.collection_request = :get_database_server_snapshots

  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
end

Version data entries

54 entries across 54 versions & 3 rubygems

Version Path
ey-core-3.6.0.autoscaling1 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.6.4 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.6.3 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.6.1 lib/ey-core/collections/database_server_snapshots.rb
groove-ey-core-3.6.3 lib/ey-core/collections/database_server_snapshots.rb
groove-ey-core-3.6.2 lib/ey-core/collections/database_server_snapshots.rb
groove-ey-core-3.6.1 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.5.0 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.4.4 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.4.2 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.4.1 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.4.0 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.3.1 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.3.0 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.2.6 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.2.5 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.2.4 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.2.3 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.2.2 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.2.1 lib/ey-core/collections/database_server_snapshots.rb