Class: Feathr::Api::ResetPassword

Inherits:
FeathrEndpoint show all
Defined in:
lib/feathr/api/reset_password.rb

Instance Attribute Summary

Attributes inherited from FeathrEndpoint

#client, #prepended_path

Instance Method Summary collapse

Methods inherited from FeathrEndpoint

api_path, define_all, define_create, define_destroy, define_find, define_update, feathr_endpoints, feathr_object, #initialize

Constructor Details

This class inherits a constructor from Feathr::Api::FeathrEndpoint

Instance Method Details

#reset!(email) ⇒ Object



7
8
9
10
# File 'lib/feathr/api/reset_password.rb', line 7

def reset!(email)
  query = { email: email }
  client.request(method: :post, path: api_path, query: query)
end