Sha256: 57929684ae657d11a337bd7d6fe74459c1a3e5551f52e120ba61fb6457ed23a7

Contents?: true

Size: 397 Bytes

Versions: 59

Compression:

Stored size: 397 Bytes

Contents

module Alula
  class UserPasswordResetProc < Alula::RpcResource

    class Response < Alula::RpcResponse
    end

    def self.call(token:, password:)
      payload = {
        token: token,
        password: password,
      }
      request( 
        http_method: :post,
        path: '/public/v1/users/password/reset',
        payload: payload,
        handler: Response
      )
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
alula-ruby-2.6.1 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.6.0 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.5.0 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.4.0 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.3.0 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.2.0 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.1.2 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.1.1 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.1.0 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-2.0.0 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.10.5 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.10.4 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.10.3 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.10.2 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.10.1 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.10.0 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.9.17 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.9.16 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.9.15 lib/alula/procedures/user_password_reset_proc.rb
alula-ruby-1.9.14 lib/alula/procedures/user_password_reset_proc.rb