Class: Ruboty::Github::Actions::CreatePullRequest
- Defined in:
- lib/ruboty/github/actions/create_pull_request.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Ruboty::Github::Actions::Base
Instance Method Details
#call ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/ruboty/github/actions/create_pull_request.rb', line 7 def call if has_access_token? create_with_error_handling else require_access_token end # Action handlers should return truthy value to tell ruboty that the given message has been handled. # Otherwise, ruboty tries to execute other handlers. true end |