Sha256: 1f4f6d5262532ec9a047438c04663ceaed53d32696eaa5b598a1a7d46db761d1
Contents?: true
Size: 503 Bytes
Versions: 17
Compression:
Stored size: 503 Bytes
Contents
require 'fog/ecloud/models/compute/rnat' module Fog module Compute class Ecloud class Rnats < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::Rnat def all data = service.get_rnats(href).body[:Rnats][:Rnat] load(data) end def get(uri) if data = service.get_rnat(uri) new(data.body) end rescue Fog::Errors::NotFound nil end end end end end
Version data entries
17 entries across 17 versions & 5 rubygems