Class: PhraseApp::RequestParams::TranslationsByLocaleParams

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/phraseapp-ruby.rb

Overview

TranslationsByLocaleParams

Parameters:

order

Order direction. Can be one of: asc, desc.

q

Filter the results. Supports text queries with the same results as in the Translation Center as well as qualifiers like unverified:true/false and date range queries.

sort

Sort criteria. Can be one of: key_name, created_at, updated_at.

Instance Method Summary collapse

Instance Method Details

#order=(val) ⇒ Object



1334
1335
1336
# File 'lib/phraseapp-ruby.rb', line 1334

def order=(val)
  self.order = val
end

#q=(val) ⇒ Object



1338
1339
1340
# File 'lib/phraseapp-ruby.rb', line 1338

def q=(val)
  self.q = val
end

#sort=(val) ⇒ Object



1342
1343
1344
# File 'lib/phraseapp-ruby.rb', line 1342

def sort=(val)
  self.sort = val
end

#validateObject



1346
1347
1348
# File 'lib/phraseapp-ruby.rb', line 1346

def validate
  
end