Class: Overlay::GithubJob

Inherits:
Object
  • Object
show all
Includes:
SuckerPunch::Job
Defined in:
lib/overlay/github.rb

Instance Method Summary collapse

Instance Method Details

#perform(repo_config) ⇒ Object



131
132
133
134
135
136
137
138
# File 'lib/overlay/github.rb', line 131

def perform(repo_config)
  Rails.logger.info "SuckerPunch processing job for #{repo_config[:repo]}"

  # Configure github api
  Github.configure

  Github.overlay_repo repo_config
end