spec/api/translations_api_spec.rb in phrase-1.0.1 vs spec/api/translations_api_spec.rb in phrase-1.0.2
- old
+ new
@@ -25,11 +25,11 @@
# Create a translation.
# @param project_id Project ID
# @param translation_create_parameters
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
- # @return [nil]
+ # @return [TranslationDetails]
describe 'translation_create test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
end
@@ -149,11 +149,11 @@
# @option opts [Integer] :page Page number
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
- # @option opts [String] :q q_description_placeholder
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<Translation>]
describe 'translations_by_key test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
@@ -169,11 +169,11 @@
# @option opts [Integer] :page Page number
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
- # @option opts [String] :q q_description_placeholder
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<Translation>]
describe 'translations_by_locale test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end
@@ -216,10 +216,10 @@
# @option opts [Integer] :page Page number
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 10 by default
# @option opts [String] :branch specify the branch to use
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
# @option opts [String] :order Order direction. Can be one of: asc, desc.
- # @option opts [String] :q q_description_placeholder
+ # @option opts [String] :q Specify a query to find translations by content (including wildcards).<br><br> The following qualifiers are supported in the query:<br> <ul> <li><code>id:translation_id,...</code> for queries on a comma-separated list of ids</li> <li><code>tags:XYZ</code> for tags on the translation</li> <li><code>unverified:{true|false}</code> for verification status</li> <li><code>excluded:{true|false}</code> for exclusion status</li> <li><code>updated_at:{>=|<=}2013-02-21T00:00:00Z</code> for date range queries</li> </ul> Find more examples <a href=\"#overview--usage-examples\">here</a>.
# @return [Array<Translation>]
describe 'translations_list test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end