Sha256: 393f2f3ba184624fd9e4b5d6f2d38d0c66d696e0281221286796eb24a3919dce
Contents?: true
Size: 506 Bytes
Versions: 6
Compression:
Stored size: 506 Bytes
Contents
require File.expand_path("../api_key", __FILE__) 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
6 entries across 6 versions & 2 rubygems