Class: Fog::Brightbox::Compute::Account

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/brightbox/models/compute/account.rb

Instance Method Summary collapse

Methods included from ModelHelper

#collection_name, #resource_name

Instance Method Details

#reset_ftp_passwordString

Resets the account’s image library FTP password returning the new value

Returns:

  • (String)

    Newly issue FTP password



58
59
60
61
62
63
# File 'lib/fog/brightbox/models/compute/account.rb', line 58

def reset_ftp_password
  requires :identity
  data = service.(identity)
  merge_attributes(data)
  library_ftp_password
end