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



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

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

#q=(val) ⇒ Object



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

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

#sort=(val) ⇒ Object



1518
1519
1520
# File 'lib/phraseapp-ruby.rb', line 1518

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

#to_hObject



1526
1527
1528
# File 'lib/phraseapp-ruby.rb', line 1526

def to_h
  @table.dup
end

#validateObject



1522
1523
1524
# File 'lib/phraseapp-ruby.rb', line 1522

def validate
  
end