Class: PhraseApp::RequestParams::TranslationsByKeyParams

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

Overview

TranslationsByKeyParams

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



1476
1477
1478
# File 'lib/phraseapp-ruby.rb', line 1476

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

#q=(val) ⇒ Object



1480
1481
1482
# File 'lib/phraseapp-ruby.rb', line 1480

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

#sort=(val) ⇒ Object



1484
1485
1486
# File 'lib/phraseapp-ruby.rb', line 1484

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

#to_hObject



1492
1493
1494
# File 'lib/phraseapp-ruby.rb', line 1492

def to_h
  @table.dup
end

#validateObject



1488
1489
1490
# File 'lib/phraseapp-ruby.rb', line 1488

def validate
  
end