Method: Cxf::Contact#recover_password

Defined in:
lib/contact.rb

#recover_password(data) ⇒ Object

Recover Password.

Send a email that contains a token to a contact. That token will be used in reset_password to establish a new password.

Parameters

data

(Hash) – It’s a data key where will be hosted the destination email.

Example

data = { email: '[email protected]' }
@cxf_contact.recover_password(data)


104
105
106
# File 'lib/contact.rb', line 104

def recover_password(data)
  @client.raw('post', '/recover-password', nil, data_transform(data))
end