Class: PhraseApp::RequestParams::TranslationsSearchParams

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

Overview

TranslationsSearchParams

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



1646
1647
1648
# File 'lib/phraseapp-ruby.rb', line 1646

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

#q=(val) ⇒ Object



1650
1651
1652
# File 'lib/phraseapp-ruby.rb', line 1650

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

#sort=(val) ⇒ Object



1654
1655
1656
# File 'lib/phraseapp-ruby.rb', line 1654

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

#to_hObject



1662
1663
1664
# File 'lib/phraseapp-ruby.rb', line 1662

def to_h
  @table.dup
end

#validateObject



1658
1659
1660
# File 'lib/phraseapp-ruby.rb', line 1658

def validate
  
end