Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.6 KB

File metadata and controls

23 lines (16 loc) · 1.6 KB

Phrase::KeysExcludeParameters

Properties

Name Type Description Notes
branch String specify the branch to use [optional]
q String Specify a query to do broad search for keys by name (including wildcards). The following qualifiers are also supported in the search term: - `ids:key_id,...` for queries on a comma-separated list of ids - `name:key_name` for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes - `tags:tag_name` to filter for keys with certain tags - `translated:{true false}` for translation status (also requires `locale_id` to be specified) - `updated_at:{>=
target_locale_id String Exclude translations in locale [optional]
tags String Tag or comma-separated list of tags to add to the matching collection of keys [optional]

Code Sample

require 'Phrase'

instance = Phrase::KeysExcludeParameters.new(branch: my-feature-branch,
                                 q: mykey* translated:true,
                                 target_locale_id: abcd1234abcd1234abcd1234abcd1234,
                                 tags: landing-page,release-1.2)