spec/api/locales_api_spec.rb in phrase-2.15.0 vs spec/api/locales_api_spec.rb in phrase-2.16.0

- old
+ new

@@ -51,11 +51,11 @@ # unit tests for locale_delete # Delete a locale # Delete an existing locale. # @param project_id Project ID - # @param id ID + # @param id Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :branch specify the branch to use # @return [nil] describe 'locale_delete test' do @@ -66,11 +66,11 @@ # unit tests for locale_download # Download a locale # Download a locale in a specific file format. # @param project_id Project ID - # @param id ID + # @param id Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :if_modified_since Last modified condition, see <a href=\"#overview--conditional-get-requests--http-caching\">Conditional GET requests / HTTP Caching</a> (optional) # @option opts [String] :if_none_match ETag condition, see <a href=\"#overview--conditional-get-requests--http-caching\">Conditional GET requests / HTTP Caching</a> (optional) # @option opts [String] :branch specify the branch to use @@ -98,11 +98,11 @@ # unit tests for locale_show # Get a single locale # Get details on a single locale for a given project. # @param project_id Project ID - # @param id ID + # @param id Locale ID or locale name # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @option opts [String] :branch specify the branch to use # @return [LocaleDetails] describe 'locale_show test' do @@ -113,10 +113,10 @@ # unit tests for locale_update # Update a locale # Update an existing locale. # @param project_id Project ID - # @param id ID + # @param id Locale ID or locale name # @param locale_update_parameters # @param [Hash] opts the optional parameters # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional) # @return [LocaleDetails] describe 'locale_update test' do