Class: Monobank::Personal::AuthRequest

Inherits:
Methods::Post show all
Defined in:
lib/monobank/personal/auth_request.rb

Constant Summary collapse

ENDPOINT =
'/personal/auth/request'.freeze

Instance Method Summary collapse

Methods inherited from Methods::Base

#call

Constructor Details

#initialize(callback: nil, **rest) ⇒ AuthRequest

Returns a new instance of AuthRequest.



9
10
11
12
# File 'lib/monobank/personal/auth_request.rb', line 9

def initialize(callback: nil, **rest)
  super(**rest)
  @callback = callback
end