Sha256: 1ad411057aa632a7b0bf28ae80cb83373dcafe721ae2f3e9148bdc6973b334e0

Contents?: true

Size: 347 Bytes

Versions: 10

Compression:

Stored size: 347 Bytes

Contents

require 'fog/core/collection'

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

        model Fog::OracleCloud::Database::Patch

        def all(db_name)
          data = service.list_patches(db_name).body['availablePatches']
          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/patches.rb
fog-oraclecloud-0.1.11 lib/fog/oraclecloud/models/database/patches.rb
fog-oraclecloud-0.1.10 lib/fog/oraclecloud/models/database/patches.rb
fog-oraclecloud-0.1.9 lib/fog/oraclecloud/models/database/patches.rb
fog-oraclecloud-0.1.8 lib/fog/oraclecloud/models/database/patches.rb
fog-oraclecloud-0.1.7 lib/fog/oraclecloud/models/database/patches.rb
fog-oraclecloud-0.1.6 lib/fog/oraclecloud/models/database/patches.rb
fog-oraclecloud-0.1.5 lib/fog/oraclecloud/models/database/patches.rb
fog-oraclecloud-0.1.4 lib/fog/oraclecloud/models/database/patches.rb
fog-oraclecloud-0.1.3 lib/fog/oraclecloud/models/database/patches.rb