Sha256: 819ea26c77a5f7bfa4a7626fadf59c3c1d2787675f44eefac715b42c73b72ab9
Contents?: true
Size: 464 Bytes
Versions: 10
Compression:
Stored size: 464 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
10 entries across 10 versions & 1 rubygems