Class: PhraseApp::RequestParams::TranslationsByKeyParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::TranslationsByKeyParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
TranslationsByKeyParams
Parameters:
- order
-
Order direction. Can be one of: asc, desc.
- q
-
Specify a <a href=“/api/v2/examples/#word-matching-examples”>search term query</a> including wildcard or exact matching. It will search the key metadata for matching results. Searched fields include key name, description, tags, translations.
Also supports the following qualifiers in the query:
<ul> <li>tags:XYZfor tags on the translation</li> <li>unverified:{true|false}for verification status</li> <li>updated_at{>=|<=}2013-02-21for date range queries</li> </ul> Find more examples <a href=“/api/v2/examples/”>here</a>. - sort
-
Sort criteria. Can be one of: key_name, created_at, updated_at.
Instance Method Summary collapse
Instance Method Details
#order=(val) ⇒ Object
1304 1305 1306 |
# File 'lib/phraseapp-ruby.rb', line 1304 def order=(val) self.order = val end |
#q=(val) ⇒ Object
1308 1309 1310 |
# File 'lib/phraseapp-ruby.rb', line 1308 def q=(val) self.q = val end |
#sort=(val) ⇒ Object
1312 1313 1314 |
# File 'lib/phraseapp-ruby.rb', line 1312 def sort=(val) self.sort = val end |
#validate ⇒ Object
1316 1317 1318 |
# File 'lib/phraseapp-ruby.rb', line 1316 def validate end |