class Push
  constructor: (pushEvent) ->
    @force = pushEvent.forced
    @shaBefore = pushEvent.before
    @repo = pushEvent.repository.full_name
    @branch = pushEvent.ref.split('/')[2]
    @user = pushEvent.sender.login
    @time = new Date()

module.exports = Push 
