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

q_description_placeholder

sort

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

Instance Method Summary collapse

Instance Method Details

#order=(val) ⇒ Object



1498
1499
1500
# File 'lib/phraseapp-ruby.rb', line 1498

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

#q=(val) ⇒ Object



1502
1503
1504
# File 'lib/phraseapp-ruby.rb', line 1502

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

#sort=(val) ⇒ Object



1506
1507
1508
# File 'lib/phraseapp-ruby.rb', line 1506

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

#to_hObject



1514
1515
1516
# File 'lib/phraseapp-ruby.rb', line 1514

def to_h
  @table.dup
end

#validateObject



1510
1511
1512
# File 'lib/phraseapp-ruby.rb', line 1510

def validate
  
end