class GHArchive::DeleteEvent

Public Class Methods

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

Public Instance Methods

pusher_type() click to toggle source
# File lib/gh-archive/events.rb, line 359
def pusher_type
    @payload['pusher_type']
end
ref() click to toggle source
# File lib/gh-archive/events.rb, line 351
def ref
    @payload['ref']
end
ref_type() click to toggle source
# File lib/gh-archive/events.rb, line 355
def ref_type
    @payload['ref_type']
end