Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.36 KB

File metadata and controls

23 lines (16 loc) · 1.36 KB

Phrase::TranslationsIncludeParameters

Properties

Name Type Description Notes
branch String specify the branch to use [optional]
q String Specify a query to find translations by content (including wildcards). Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size). The following qualifiers are supported in the query: - `id:translation_id,...` for queries on a comma-separated list of ids - `tags:XYZ` for tags on the translation - `unverified:{true false}` for verification status - `excluded:{true
sort String Sort criteria. Can be one of: key_name, created_at, updated_at. [optional]
order String Order direction. Can be one of: asc, desc. [optional]

Code Sample

require 'Phrase'

instance = Phrase::TranslationsIncludeParameters.new(branch: my-feature-branch,
                                 q: PhraseApp*%20verified:true%20tags:feature,center,
                                 sort: updated_at,
                                 order: desc)