Sha256: fb3749704a469c157996d377159c6c13abd55e73a0b6c0d68125c9ca2c3f8b89

Contents?: true

Size: 318 Bytes

Versions: 5

Compression:

Stored size: 318 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

5 entries across 5 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.17 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.16 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.15 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.14 lib/fog/oraclecloud/models/database/servers.rb
fog-oraclecloud-0.1.13 lib/fog/oraclecloud/models/database/servers.rb