class Zype::Consumers

Read more at docs.zype.com/v1.0/reference#consumers

@since 0.15.0

Public Instance Methods

forgot_password(email:) click to toggle source

Initiate consumer forgot password flow. Consumer will receive forgot password email.

@param email [String] email of the consumer @return [Hash] the consumer returned from the API

# File lib/zype/models/consumers.rb, line 11
def forgot_password(email:)
  client.execute(method: :put, path: "/#{path}/forgot_password", params: { email: email })
end