Class: Stratify::GitHub::Event::WatchEvent
- Inherits:
-
Object
- Object
- Stratify::GitHub::Event::WatchEvent
- Defined in:
- lib/stratify-github/events.rb
Overview
Unused? Unseen in the wild. class TeamAddEvent
def self.make(activity, api_hash)
activity.ref = api_hash['ref']
activity.thing = api_hash['repository']['url']
activity
end
def self.text(activity)
"#{activity.actor} added team member #{activity.ref} to #{activity.thing}"
end
end
Class Method Summary collapse
Class Method Details
.make(activity, api_hash) ⇒ Object
218 219 220 |
# File 'lib/stratify-github/events.rb', line 218 def self.make(activity, api_hash) activity end |
.text(activity) ⇒ Object
221 222 223 |
# File 'lib/stratify-github/events.rb', line 221 def self.text(activity) "#{activity.actor} started watching #{activity.url}" end |