Class: PhraseApp::RequestParams::TranslationsListParams

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

Overview

TranslationsListParams

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



1612
1613
1614
# File 'lib/phraseapp-ruby.rb', line 1612

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

#q=(val) ⇒ Object



1616
1617
1618
# File 'lib/phraseapp-ruby.rb', line 1616

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

#sort=(val) ⇒ Object



1620
1621
1622
# File 'lib/phraseapp-ruby.rb', line 1620

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

#to_hObject



1628
1629
1630
# File 'lib/phraseapp-ruby.rb', line 1628

def to_h
  @table.dup
end

#validateObject



1624
1625
1626
# File 'lib/phraseapp-ruby.rb', line 1624

def validate
  
end