Sha256: 7df14e3ea4fec11f31b8b065453669a2f85a72bdcf41481934895191bdc312fa
Contents?: true
Size: 745 Bytes
Versions: 5
Compression:
Stored size: 745 Bytes
Contents
require 'fog/core/model' module Fog module Compute class Brightbox class User < Fog::Model identity :id attribute :url attribute :resource_type attribute :name attribute :email_address attribute :email_verified attribute :ssh_key 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
5 entries across 5 versions & 2 rubygems