Sha256: 55b0885054037b45c1f7ce5dd5a3752895be0f273162d3b6bf532ce2d25c560a
Contents?: true
Size: 504 Bytes
Versions: 65
Compression:
Stored size: 504 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
65 entries across 65 versions & 6 rubygems