Sha256: 16d739028c8f7b82726ddb4d2decb6410f0c6657777043853d0ddf760dbd3022
Contents?: true
Size: 815 Bytes
Versions: 16
Compression:
Stored size: 815 Bytes
Contents
module Fog module Compute class Brightbox class User < Fog::Brightbox::Model identity :id attribute :resource_type attribute :url attribute :name attribute :email_address attribute :ssh_key # Boolean flags attribute :email_verified attribute :messaging_pref # Links - to be replaced attribute :account_id, :aliases => "default_account", :squash => "id" attribute :accounts def save requires :identity options = { :email_address => email_address, :ssh_key => ssh_key, :name => name } data = service.update_user(identity, options) merge_attributes(data) true end end end end end
Version data entries
16 entries across 14 versions & 3 rubygems