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
1691 1692 1693 |
# File 'lib/phraseapp-ruby.rb', line 1691 def translation_key_ids=(val) super(val.split(',')) end |
#validate ⇒ Object
1695 1696 1697 1698 1699 1700 |
# File 'lib/phraseapp-ruby.rb', line 1695 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 |