Class: PhraseApp::RequestParams::CommentParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::CommentParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
CommentParams
Parameters:
- message
-
Comment message
Instance Method Summary collapse
Instance Method Details
#message=(val) ⇒ Object
351 352 353 |
# File 'lib/phraseapp-ruby.rb', line 351 def (val) self. = val end |
#validate ⇒ Object
355 356 357 358 359 |
# File 'lib/phraseapp-ruby.rb', line 355 def validate if self. == nil || self. == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"message\" of \"CommentParams\" not set") end end |