Class: Stratify::GitHub::Event::CommitCommentEvent
- Inherits:
-
Stratify::GitHub::Event
- Object
- Stratify::GitHub::Event
- Stratify::GitHub::Event::CommitCommentEvent
- Defined in:
- lib/stratify-github/events.rb
Class Method Summary collapse
Methods inherited from Stratify::GitHub::Event
Class Method Details
.make(activity, api_hash) ⇒ Object
16 17 18 19 |
# File 'lib/stratify-github/events.rb', line 16 def self.make(activity, api_hash) activity.repository = repo_url(api_hash['url']) activity end |
.text(activity) ⇒ Object
20 21 22 |
# File 'lib/stratify-github/events.rb', line 20 def self.text(activity) "#{activity.actor} commented on a commit to #{activity.repository}" end |