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



1600
1601
1602
# File 'lib/phraseapp-ruby.rb', line 1600

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

#q=(val) ⇒ Object



1604
1605
1606
# File 'lib/phraseapp-ruby.rb', line 1604

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

#sort=(val) ⇒ Object



1608
1609
1610
# File 'lib/phraseapp-ruby.rb', line 1608

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

#to_hObject



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

def to_h
  @table.dup
end

#validateObject



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

def validate
  
end