Sha256: 4644c60c012e49e0db317c4200706bf53c7f786d616f40ca245afe7a5ea97c26
Contents?: true
Size: 1.7 KB
Versions: 11
Compression:
Stored size: 1.7 KB
Contents
# Phrase::ICUApi All URIs are relative to *https://api.phrase.com/v2* Method | HTTP request | Description ------------- | ------------- | ------------- [**icu_skeleton**](ICUApi.md#icu_skeleton) | **POST** /icu/skeleton | Build ICU skeletons ## icu_skeleton > Icu icu_skeleton(icu_skeleton_parameters, opts) Build ICU skeletons Returns ICU skeletons for multiple locale codes based on a source content. ### Example ```ruby # load the gem require 'phrase' # setup authorization Phrase.configure do |config| # Configure HTTP basic authorization: Basic config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' # Configure API key authorization: Token config.api_key['Authorization'] = 'YOUR API KEY' config.api_key_prefix['Authorization'] = 'token' end api_instance = Phrase::ICUApi.new icu_skeleton_parameters = Phrase::IcuSkeletonParameters.new # IcuSkeletonParameters | opts = { x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional) } begin #Build ICU skeletons result = api_instance.icu_skeleton(icu_skeleton_parameters, opts) pp result rescue Phrase::ApiError => e puts "Exception when calling ICUApi->icu_skeleton: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **icu_skeleton_parameters** | [**IcuSkeletonParameters**](IcuSkeletonParameters.md)| | **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional] ### Return type Response<([**Icu**](Icu.md))> ### Authorization [Basic](../README.md#Basic), [Token](../README.md#Token) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json
Version data entries
11 entries across 11 versions & 1 rubygems