class GHArchive::CreateEvent

Public Class Methods

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

Public Instance Methods

description() click to toggle source
# File lib/gh-archive/events.rb, line 206
def description
    @payload['description']
end
master_branch() click to toggle source
# File lib/gh-archive/events.rb, line 202
def master_branch
    @payload['master_branch']
end
pusher_type() click to toggle source
# File lib/gh-archive/events.rb, line 210
def pusher_type
    @payload['pusher_type']
end
ref() click to toggle source
# File lib/gh-archive/events.rb, line 194
def ref
    @payload['ref']
end
ref_type() click to toggle source
# File lib/gh-archive/events.rb, line 198
def ref_type
    @payload['ref_type']
end