Sha256: f99e615f251fe0501a8ce22d9f14164b10dd278dffaa5b1e4d73fe4d5df93132

Contents?: true

Size: 1.18 KB

Versions: 26

Compression:

Stored size: 1.18 KB

Contents

module Moneta
  module Api
    module Requests
      module Profile
        # Запрос на создание пользователя с типом "клиент" в системе МОНЕТА.РУ.
        # Request for creating a MONETA.RU client account.
        class CreateClientProfileRequest < CreateProfileRequest

          # @return [String] Тип пользователя. Возможные значения: [client, organization]
          #   / Profile type. Valid values are: [client, organization]
          property :profile_type, read_only: true

          # @return [Moneta::Api::Types::Profile::Client] Данные создаваемого пользователя. Данные представлены в виде "ключ-значение".
          #   / Ключи данных зависят от типа пользователя (ProfileType).
          #   / User profile information in the list of key-value pairs.
          #   / The list of supported keys depends on ProfileType.
          property :profile, type: Moneta::Api::Types::Profile::Client

          def initialize
            @profile_type = 'client'
          end
        end
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
moneta-api-2.1.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-2.0.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-2.0.0.rc2 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-2.0.0.rc1 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.13.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.8 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.7 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.6 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.5 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.4 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.3 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.2 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.1 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.12.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.11.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.10.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.9.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.8.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.7.0 lib/moneta/api/requests/profile/create_client_profile_request.rb
moneta-api-1.6.0 lib/moneta/api/requests/profile/create_client_profile_request.rb