Class: GithubContributions::Events::PullRequestEvent
- Inherits:
-
GithubContributions::Event
- Object
- GithubContributions::Event
- GithubContributions::Events::PullRequestEvent
- Defined in:
- lib/github_contributions/events/pull_request_event.rb
Instance Attribute Summary
Attributes inherited from GithubContributions::Event
Instance Method Summary collapse
Methods inherited from GithubContributions::Event
#action, #actor, #created_at, #initialize, #name, #org
Constructor Details
This class inherits a constructor from GithubContributions::Event
Instance Method Details
#payload ⇒ Object
4 5 6 |
# File 'lib/github_contributions/events/pull_request_event.rb', line 4 def payload pull_request end |
#pull_request ⇒ Object
8 9 10 |
# File 'lib/github_contributions/events/pull_request_event.rb', line 8 def pull_request @pull_request ||= GithubObjects::PullRequest.new(data.payload.pull_request) end |