Sha256: 28671c5477f4ac96f11d7148678afbbe4df62ba9216335f7b8e6202ee73e0d45
Contents?: true
Size: 486 Bytes
Versions: 78
Compression:
Stored size: 486 Bytes
Contents
require 'fog/core/collection' require 'fog/brightbox/models/compute/user' module Fog module Compute class Brightbox class Users < Fog::Collection model Fog::Compute::Brightbox::User def all data = service.list_users load(data) end def get(identifier = nil) data = service.get_user(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
78 entries across 78 versions & 7 rubygems