Sha256: 23ce2147c95696b220d2aa594bb3587c80145ca67f01b817b773263cb816a204
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
require_relative 'recovery_appliance' module Fog module Compute class OneAndOne class RecoveryAppliances < Fog::Collection model Fog::Compute::OneAndOne::RecoveryAppliance def all response = service.list_recovery_appliances load(response.body) end def get(id) response = service.get_recovery_appliance(id) new(response.body) rescue Excon::Errors::NotFound nil end end # RecoveryAppliances end # OneAndOne end # Compute end # Fog
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-oneandone-1.2 | lib/oneandone/models/compute/recovery_appliances.rb |