Class: Fog::Compute::Brightbox::Account
- Defined in:
- lib/fog/brightbox/models/compute/account.rb
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
-
#reset_ftp_password ⇒ String
Resets the account’s image library FTP password returning the new value.
Methods inherited from Model
#initialize, #inspect, #reload, #symbolize_keys, #to_json, #wait_for
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #requires, #requires_one
Constructor Details
This class inherits a constructor from Fog::Model
Instance Method Details
#reset_ftp_password ⇒ String
Resets the account’s image library FTP password returning the new value
58 59 60 61 62 63 |
# File 'lib/fog/brightbox/models/compute/account.rb', line 58 def reset_ftp_password requires :identity data = connection.reset_ftp_password_account(identity) merge_attributes(data) library_ftp_password end |