Class: PhraseApp::RequestParams::CommentParams
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- PhraseApp::RequestParams::CommentParams
- Defined in:
- lib/phraseapp-ruby.rb
Overview
CommentParams
Parameters:
- branch
-
specify the branch to use
- message
-
Comment message
Instance Method Summary collapse
Instance Method Details
#branch=(val) ⇒ Object
582 583 584 |
# File 'lib/phraseapp-ruby.rb', line 582 def branch=(val) super(val) end |
#message=(val) ⇒ Object
586 587 588 |
# File 'lib/phraseapp-ruby.rb', line 586 def (val) super(val) end |
#validate ⇒ Object
590 591 592 593 594 595 |
# File 'lib/phraseapp-ruby.rb', line 590 def validate if == nil || == "" raise PhraseApp::ParamsHelpers::ParamsValidationError.new("Required parameter \"message\" of \"CommentParams\" not set") end end |