Sha256: afed868ac15caa1315a99b7dab0ff18855bab56617817bb90f27e6197e31cc7e
Contents?: true
Size: 442 Bytes
Versions: 5
Compression:
Stored size: 442 Bytes
Contents
require 'fog/core/collection' module Fog module OracleCloud class Database class Snapshots < Fog::Collection model Fog::OracleCloud::Database::Snapshot def all(db_name) data = service.list_snapshots(db_name).body load(data) end def get(db_name, snapshot_name) new(service.get_snapshot(db_name, snapshot_name).body) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems