Class: Monobank::Personal::Registration
- Inherits:
-
Methods::Post
- Object
- Methods::Base
- Methods::Post
- Monobank::Personal::Registration
- Defined in:
- lib/monobank/personal/registration.rb
Constant Summary collapse
- ENDPOINT =
'/personal/auth/registration'.freeze
Instance Method Summary collapse
-
#initialize(public_key:, name:, description:, contact_person:, phone:, email:, logo:, **rest) ⇒ Registration
constructor
A new instance of Registration.
- #pathname ⇒ Object
Methods inherited from Methods::Base
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 = logo end |
Instance Method Details
#pathname ⇒ Object
21 22 23 |
# File 'lib/monobank/personal/registration.rb', line 21 def pathname ENDPOINT end |