Class: Stratify::GitHub::Event::ForkEvent
- Inherits:
-
Object
- Object
- Stratify::GitHub::Event::ForkEvent
- Defined in:
- lib/stratify-github/events.rb
Class Method Summary collapse
Class Method Details
.make(activity, api_hash) ⇒ Object
78 79 80 81 |
# File 'lib/stratify-github/events.rb', line 78 def self.make(activity, api_hash) activity.thing = api_hash['repository']['url'] activity end |
.text(activity) ⇒ Object
82 83 84 |
# File 'lib/stratify-github/events.rb', line 82 def self.text(activity) "#{activity.actor} forked #{activity.thing}" end |