Class: Monobank::Personal::Registration

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

Constant Summary collapse

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

Instance Method Summary collapse

Methods inherited from Methods::Base

#call

Constructor Details

#initialize(public_key:, name:, description:, contact_person:, phone:, email:, logo:, **rest) ⇒ Registration

Returns a new instance of Registration.



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/monobank/personal/registration.rb', line 9

def initialize(public_key:, name:, description:, contact_person:, phone:, email:, logo:, **rest)
  super(**rest)

  @public_key = public_key
  @name = name
  @description = description
  @contact_person = contact_person
  @phone = phone
  @email = email
  @logo = 
end

Instance Method Details

#pathnameObject



21
22
23
# File 'lib/monobank/personal/registration.rb', line 21

def pathname
  ENDPOINT
end