voxpupuli/vox-pupuli-tasks

View on GitHub
app/lib/github_event/base.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class GithubEvent
  class Base
    attr_reader :payload

    ##
    # Receive the payload and start processing it

    def initialize(payload)
      @payload = payload
      process
    end
  end
end