lib/keratin/authn/issuer.rb in keratin-authn-0.5.1 vs lib/keratin/authn/issuer.rb in keratin-authn-0.6.0

- old
+ new

@@ -1,9 +1,15 @@ require 'keratin/client' require 'net/http' module Keratin::AuthN class Issuer < Keratin::Client + def update(account_id, username:) + patch(path: "/accounts/#{account_id}", body: { + username: username + }).result + end + def lock(account_id) patch(path: "/accounts/#{account_id}/lock").result end def unlock(account_id)