Sha256: 3aad56d2133b169ec3c5780b6726748ddf1011f56a786ba8a8998fcadf3fbcc2
Contents?: true
Size: 837 Bytes
Versions: 40
Compression:
Stored size: 837 Bytes
Contents
require 'fog/core/model' module Fog module Compute class Brightbox class User < Fog::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 = connection.update_user(identity, options) merge_attributes(data) true end end end end end
Version data entries
40 entries across 40 versions & 13 rubygems