Sha256: 8bc6e09b22656bb77a5e23f47739d5bb28b804c101390c05a8b9bd01fd8dede4
Contents?: true
Size: 1.19 KB
Versions: 7
Compression:
Stored size: 1.19 KB
Contents
module Fog module Compute class Brightbox class Real # Reset the image library ftp password for the account. # # @note The response is the only time the new password is available in plaintext. # # @overload reset_ftp_password_account(identifier) # @param [String] identifier Unique reference to identify the resource # # @overload reset_ftp_password_account() # @deprecated Use {Fog::Compute::Brightbox::Real#reset_ftp_password_scoped_account} instead # # @return [Hash] if successful Hash version of JSON object # # @see https://api.gb1.brightbox.com/1.0/#account_reset_ftp_password_account # def reset_ftp_password_account(identifier = nil) if identifier.nil? || identifier.empty? Fog::Logger.deprecation("reset_ftp_password_account() without a parameter is deprecated, use reset_ftp_password_scoped_account instead [light_black](#{caller.first})[/]") reset_ftp_password_scoped_account else wrapped_request("post", "/1.0/accounts/#{identifier}/reset_ftp_password", [200]) end end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems