Class: Monobank::Personal::RegistrationStatus

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

Constant Summary collapse

ENDPOINT =
'/personal/auth/registration/status'.freeze

Instance Method Summary collapse

Methods inherited from Methods::Base

#call

Constructor Details

#initialize(public_key:, **rest) ⇒ RegistrationStatus

Returns a new instance of RegistrationStatus.



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

def initialize(public_key:, **rest)
  super(**rest)

  @public_key = public_key
end

Instance Method Details

#pathnameObject



15
16
17
# File 'lib/monobank/personal/registration_status.rb', line 15

def pathname
  ENDPOINT
end