Sha256: 2f48debd7d6c239874d24ff86f5117c1ba319ef23025a9b79d27f1fa8d546b74

Contents?: true

Size: 336 Bytes

Versions: 10

Compression:

Stored size: 336 Bytes

Contents

require 'fog/core/collection'

module Fog
  module OracleCloud
    class Database
      class Servers < Fog::Collection

        model Fog::OracleCloud::Database::Server

        def all(db_name)
          data = service.list_servers(db_name).body
          load(data)
        end
        
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.12 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.11 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.10 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.9 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.8 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.7 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.6 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.5 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.4 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.3 lib/fog/oraclecloud/models/database/servers.rb