spec/api/locales_api_spec.rb in phrase-2.8.2 vs spec/api/locales_api_spec.rb in phrase-2.8.3
- old
+ new
@@ -25,11 +25,11 @@
# List all locales unique by locale code used across all projects within an account.
# @param id ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
# @return [Array<LocalePreview1>]
describe 'account_locales test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
@@ -129,10 +129,10 @@
# List all locales for the given project.
# @param project_id Project ID
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
- # @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
+ # @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
# @option opts [String] :sort_by Sort locales. Valid options are \"name_asc\", \"name_desc\", \"default_asc\", \"default_desc\".
# @option opts [String] :branch specify the branch to use
# @return [Array<Locale>]
describe 'locales_list test' do
it 'should work' do