class GHArchive::MemberEvent

Public Class Methods

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

Public Instance Methods

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