Sha256: 8e4389c2f24912c4f51b6da0ec5092b62bbcd6c73769de663f5bae71c80387b6
Contents?: true
Size: 496 Bytes
Versions: 65
Compression:
Stored size: 496 Bytes
Contents
require 'fog/ecloud/models/compute/user' module Fog module Compute class Ecloud class Users < Fog::Ecloud::Collection identity :href model Fog::Compute::Ecloud::User def all data = service.get_users(href).body[:User] load(data) end def get(uri) if data = service.get_user(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