class Fog::Compute::OneAndOne::RecoveryAppliances

Public Instance Methods

all() click to toggle source
# File lib/oneandone/models/compute/recovery_appliances.rb, line 9
def all
  response = service.list_recovery_appliances
  load(response.body)
end
get(id) click to toggle source
# File lib/oneandone/models/compute/recovery_appliances.rb, line 14
def get(id)
  response = service.get_recovery_appliance(id)
  new(response.body)
rescue Excon::Errors::NotFound
  nil
end