class Fog::Compute::OneAndOne::ServerAppliances
Public Instance Methods
all()
click to toggle source
# File lib/oneandone/models/compute/server_appliances.rb, line 9 def all response = service.list_server_appliances load(response.body) end
get(id)
click to toggle source
# File lib/oneandone/models/compute/server_appliances.rb, line 14 def get(id) response = service.get_server_appliance(id) new(response.body) rescue Excon::Errors::NotFound nil end