Class: PhraseApp::RequestParams::JobKeysDeleteParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::JobKeysDeleteParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
JobKeysDeleteParams
Parameters:
- branch
-
specify the branch to use
- translation_key_ids
-
ids of keys that should added to the job
Instance Method Summary collapse
Instance Method Details
#branch=(val) ⇒ Object
2150 2151 2152 |
# File 'lib/phraseapp-ruby.rb', line 2150 def branch=(val) super(val) end |
#translation_key_ids=(val) ⇒ Object
2154 2155 2156 |
# File 'lib/phraseapp-ruby.rb', line 2154 def translation_key_ids=(val) super(val.split(',')) end |
#validate ⇒ Object
2158 2159 2160 2161 2162 2163 |
# File 'lib/phraseapp-ruby.rb', line 2158 def validate if translation_key_ids == nil raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"translation_key_ids\" of \"job_keys_deleteParams\" not set") end end |