Sha256: 5af8526c651073de6bd8b1272541e2b8c3137a3a8fc20eae710aac34948c4efa
Contents?: true
Size: 510 Bytes
Versions: 23
Compression:
Stored size: 510 Bytes
Contents
require "fog/brightbox/models/compute/database_snapshot" module Fog module Brightbox class Compute class DatabaseSnapshots < Fog::Collection model Fog::Brightbox::Compute::DatabaseSnapshot def all data = service.list_database_snapshots load(data) end def get(identifier) data = service.get_database_snapshot(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems