class GHArchive::WatchEvent

Public Class Methods

fits?(json) click to toggle source
# File lib/gh-archive/events.rb, line 337
def self.fits?(json)
    return json['type'] == "WatchEvent"
end

Public Instance Methods

action() click to toggle source
# File lib/gh-archive/events.rb, line 341
def action
    @payload['action']
end