Sha256: 149571d1122130a9b5bbd5804b5626c5edc690572877756f94682ec1344ca8b3

Contents?: true

Size: 340 Bytes

Versions: 1

Compression:

Stored size: 340 Bytes

Contents

require_relative 'rest'
require_relative '../bot'

module Elephrame
  module Bots
    # a bot that runs commands based off of
    # an interval or a cron string
    class Periodic < BaseBot
      include Elephrame::Scheduler
      
      def initialize intv
        super()
        
        setup_scheduler intv
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
elephrame-0.2.0 lib/elephrame/rest/bots.rb