Sha256: 1ae46479d074712dc8a38825761079c12d6ad46ee3f810c7c3738d90d56d553a

Contents?: true

Size: 329 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

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