Sha256: eb719a2e6e363af59659590a7d55c5f250bad470d3b6bba863d16aecd7eab68c
Contents?: true
Size: 566 Bytes
Versions: 17
Compression:
Stored size: 566 Bytes
Contents
require 'fog/ecloud/models/compute/authentication_level' 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
17 entries across 17 versions & 5 rubygems