Sha256: 280e6cc0740bc4fdf68e86d597390f855cb7e4e22787db88c4d4e6d0a8aea8d1
Contents?: true
Size: 483 Bytes
Versions: 4
Compression:
Stored size: 483 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
4 entries across 4 versions & 2 rubygems