Sha256: 642a00fc47c55192f275365551df817a8c75146b6c4accc455689603f310d15f
Contents?: true
Size: 815 Bytes
Versions: 11
Compression:
Stored size: 815 Bytes
Contents
module Fog module Brightbox class Compute 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
11 entries across 11 versions & 1 rubygems