module Ruby::Identitas::Endpoints::Password

Public Instance Methods

password(options = {}) click to toggle source
# 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