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

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

Instance Method Summary collapse

Instance Method Details

#password(options = {}) ⇒ Object



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

def password(options = {})
  options.merge!({access_token: @token})
  endpoint = build_endpoint("/v1/me/password")
  self.class.post(endpoint, query: options)
end