Class: Shipit::Webhooks::Handlers::PullRequest::EditedHandler
- Defined in:
- app/models/shipit/webhooks/handlers/pull_request/edited_handler.rb
Instance Attribute Summary
Attributes inherited from Handler
Instance Method Summary collapse
Methods inherited from Handler
Constructor Details
This class inherits a constructor from Shipit::Webhooks::Handlers::Handler
Instance Method Details
#process ⇒ Object
41 42 43 44 45 |
# File 'app/models/shipit/webhooks/handlers/pull_request/edited_handler.rb', line 41 def process return unless respond_to_pull_request_edited? pull_request.update(github_pull_request: params.pull_request) if pull_request.present? end |