require_relative '../lib/momma/client'

SCHEDULER.every '1m', allow_overlapping: false do |job|
  summary = Momma::Client.summary

  send_event('total-donated', { current: summary["total_donated"] })
  send_event('procedures', { current: summary["procedures"] })
  send_event('checkouts', { current: summary["checkouts"] })
  send_event('top-procedures', { items: summary["top_procedures"] })
end

require_relative '../lib/momma/client'

SCHEDULER.every '1m', allow_overlapping: false do |job|
  summary = Momma::Client.summary

  send_event('total-donated', { current: summary["total_donated"] })
  send_event('procedures', { current: summary["procedures"] })
  send_event('checkouts', { current: summary["check_outs"] })
  send_event('top-procedures', { items: summary["top_procedures"] })
end

Fix check out data feed
Fix check out data feed
