Skip to content

Instantly share code, notes, and snippets.

View benmwendwa's full-sized avatar

Benjamin Mwendwa benmwendwa

  • Upscale Technologies
  • Nairobi, Kenya
View GitHub Profile
@benmwendwa
benmwendwa / sisekiq background processing
Created February 19, 2015 06:47
using sidekiq to process a background job in sinatra.
# in one file I have required all the needed resources.
require 'rubygems'
require 'google/api_client'
require 'google/api_client/client_secrets'
require 'google/api_client/auth/file_storage'
require 'sinatra'
require 'logger'
require 'mail'
require 'mysql2'
require 'json'