Class: GHArchive::PublicEvent
Constant Summary
Constants inherited from Event
Class Method Summary collapse
Methods inherited from Event
#actor, #created_at, #initialize, #json, parse, #public?, #repo
Constructor Details
This class inherits a constructor from GHArchive::Event
Class Method Details
.fits?(json) ⇒ Boolean
331 332 333 |
# File 'lib/gh-archive/events.rb', line 331 def self.fits?(json) return json['type'] == "PublicEvent" end |