Class: Moneta::Api::Requests::Profile::CreateOrganizationProfileRequest
- Inherits:
-
CreateProfileRequest
- Object
- CreateProfileRequest
- Moneta::Api::Requests::Profile::CreateOrganizationProfileRequest
- Defined in:
- lib/moneta/api/requests/profile/create_organization_profile_request.rb
Overview
Запрос на создание пользователя с типом "организация" в системе МОНЕТА.РУ. Request for creating a MONETA.RU organization account.
Instance Method Summary collapse
-
#initialize ⇒ CreateOrganizationProfileRequest
constructor
A new instance of CreateOrganizationProfileRequest.
-
#profile ⇒ Moneta::Api::Types::Profile::Organization
Данные создаваемого пользователя.
-
#profile_type ⇒ String
Тип пользователя.
Methods inherited from CreateProfileRequest
Methods included from DataMapper
Constructor Details
#initialize ⇒ CreateOrganizationProfileRequest
Returns a new instance of CreateOrganizationProfileRequest.
19 20 21 |
# File 'lib/moneta/api/requests/profile/create_organization_profile_request.rb', line 19 def initialize @profile_type = 'organization' end |
Instance Method Details
#profile ⇒ Moneta::Api::Types::Profile::Organization
Returns Данные создаваемого пользователя. Данные представлены в виде "ключ-значение". / Ключи данных зависят от типа пользователя (ProfileType). / User profile information in the list of key-value pairs. / The list of supported keys depends on ProfileType.
17 |
# File 'lib/moneta/api/requests/profile/create_organization_profile_request.rb', line 17 property :profile, type: Moneta::Api::Types::Profile::Organization |
#profile_type ⇒ String
Returns Тип пользователя. Возможные значения: [client, organization] / Profile type. Valid values are: [client, organization].
11 |
# File 'lib/moneta/api/requests/profile/create_organization_profile_request.rb', line 11 property :profile_type, read_only: true |