Module: Ruby::Identitas::Endpoints::Internal::Password

Included in:
Main
Defined in:
lib/ruby/identitas/endpoints/internal/password.rb

Instance Method Summary collapse

Instance Method Details

#user_password(options = {}, headers = {}) ⇒ Object



6
7
8
9
10
# File 'lib/ruby/identitas/endpoints/internal/password.rb', line 6

def user_password(options = {}, headers = {})
  headers.merge!({AuthKey: @api_key})
  endpoint = build_endpoint("/v1/internal/users/password")
  self.class.post(endpoint, query: options, headers: headers)
end