Class: PhraseApp::RequestParams::KeysUntagParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::KeysUntagParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
KeysUntagParams
Parameters:
- locale_id
-
locale_id
- q
-
q
- tags
-
tags
Instance Method Summary collapse
Instance Method Details
#locale_id=(val) ⇒ Object
1158 1159 1160 |
# File 'lib/phraseapp-ruby.rb', line 1158 def locale_id=(val) self.locale_id = val end |
#q=(val) ⇒ Object
1162 1163 1164 |
# File 'lib/phraseapp-ruby.rb', line 1162 def q=(val) self.q = val end |
#tags=(val) ⇒ Object
1166 1167 1168 |
# File 'lib/phraseapp-ruby.rb', line 1166 def (val) self. = val.split(',') end |
#validate ⇒ Object
1170 1171 1172 1173 1174 |
# File 'lib/phraseapp-ruby.rb', line 1170 def validate if self. == nil raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"tags\" of \"keys_untagParams\" not set") end end |