Sha256: 10a5926091a43b79d96d4860bd0c901e99545ef6c12bc034d31044c69eb150f3
Contents?: true
Size: 408 Bytes
Versions: 1
Compression:
Stored size: 408 Bytes
Contents
SlackRubyBotServer::Config.service_class.instance.on :starting do |team| begin team.check_stripe! rescue StandardError => e SlackRubyBotServer::Service.logger.error e end end SlackRubyBotServer::Config.service_class.instance.every :day do Team.each do |team| begin team.check_stripe! rescue StandardError => e SlackRubyBotServer::Service.logger.error e end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-bot-server-stripe-0.1.0 | lib/slack-ruby-bot-server-stripe/lifecycle.rb |