Sha256: 145583262b126ffbbbb3781eb17ddbe93639c98b2e9b7163f8e71faa879c7527
Contents?: true
Size: 571 Bytes
Versions: 6
Compression:
Stored size: 571 Bytes
Contents
require File.expand_path("../authentication_level", __FILE__) module Fog module Compute class Ecloud class AuthenticationLevels < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::AuthenticationLevel def all data = service.get_authentication_levels(href).body load(data) end def get(uri) if data = service.get_authentication_level(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