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



1634
1635
1636
# File 'lib/phraseapp-ruby.rb', line 1634

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

#q=(val) ⇒ Object



1638
1639
1640
# File 'lib/phraseapp-ruby.rb', line 1638

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

#sort=(val) ⇒ Object



1642
1643
1644
# File 'lib/phraseapp-ruby.rb', line 1642

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

#to_hObject



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

def to_h
  @table.dup
end

#validateObject



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

def validate
  
end