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.2.0 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.11 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.10 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.9 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.8 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.7 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.6 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.5 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.4 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.3 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.2 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.1 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.1.0 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.0.5 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.0.4 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.0.3 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.0.2 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.0.1 lib/ey-core/collections/database_server_snapshots.rb
ey-core-3.0.0 lib/ey-core/collections/database_server_snapshots.rb
ey-pro-cli-0.0.17 lib/vendor/core/ey-core/collections/database_server_snapshots.rb