class Fog::Compute::Ecloud::Rnats
Public Instance Methods
all()
click to toggle source
# File lib/fog/ecloud/models/compute/rnats.rb, line 12 def all data = service.get_rnats(href).body[:Rnats][:Rnat] load(data) end
get(uri)
click to toggle source
# File lib/fog/ecloud/models/compute/rnats.rb, line 17 def get(uri) if data = service.get_rnat(uri) new(data.body) end rescue Fog::Errors::NotFound nil end