Sha256: 1e38d86895caf5989a71cff8f941f061a7e1d3bd353fd77f0d091b5e3bcc631b
Contents?: true
Size: 491 Bytes
Versions: 7
Compression:
Stored size: 491 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 = connection.list_users load(data) end def get(identifier = nil) data = connection.get_user(identifier) new(data) rescue Excon::Errors::NotFound nil end end end end end
Version data entries
7 entries across 7 versions & 5 rubygems