Class: Octogate::Event::PullRequest
- Defined in:
- lib/octogate/events/pull_request.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Base
Class Method Details
.parse(json) ⇒ Object
13 14 15 16 17 |
# File 'lib/octogate/events/pull_request.rb', line 13 def parse(json) payload = Oj.load(json).deep_symbolize_keys new(payload) end |
Instance Method Details
#default_condition ⇒ Object
20 21 22 |
# File 'lib/octogate/events/pull_request.rb', line 20 def default_condition action != "closed" end |