Sha256: 6d0b914a66dc87035450c2e3d6fe002c036d8c4ce01fcd2e63d245d08696e69d
Contents?: true
Size: 501 Bytes
Versions: 17
Compression:
Stored size: 501 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
17 entries across 17 versions & 5 rubygems