Class: PhraseApp::RequestParams::JobKeysCreateParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::JobKeysCreateParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
JobKeysCreateParams
Parameters:
- translation_key_ids
-
ids of keys that should added to the job
Instance Method Summary collapse
Instance Method Details
#translation_key_ids=(val) ⇒ Object
1545 1546 1547 |
# File 'lib/phraseapp-ruby.rb', line 1545 def translation_key_ids=(val) super(val.split(',')) end |
#validate ⇒ Object
1549 1550 1551 1552 1553 1554 |
# File 'lib/phraseapp-ruby.rb', line 1549 def validate if translation_key_ids == nil raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"translation_key_ids\" of \"job_keys_createParams\" not set") end end |