Sha256: c702a8b0c9d6ecda2b1927b7acf487b85cc8e33d62a926dda6b67cd7fa2a293e
Contents?: true
Size: 502 Bytes
Versions: 65
Compression:
Stored size: 502 Bytes
Contents
require 'fog/ecloud/models/compute/api_key' module Fog module Compute class Ecloud class ApiKeys < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::ApiKey def all data = service.get_api_keys(href).body load(data) end def get(uri) if data = service.get_api_key(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