Sha256: 0a7ff761514919ecc8e236ef7ef8712ed0511f30a4d5cd9218e3a533c2ef0aff

Contents?: true

Size: 628 Bytes

Versions: 1

Compression:

Stored size: 628 Bytes

Contents

# frozen_string_literal: true

require 'cloudtasker/version'
require 'cloudtasker/config'

require 'cloudtasker/authentication_error'
require 'cloudtasker/invalid_worker_error'

require 'cloudtasker/middleware/chain'
require 'cloudtasker/authenticator'
require 'cloudtasker/task'
require 'cloudtasker/meta_store'
require 'cloudtasker/worker'

# Define and manage Cloud Task based workers
module Cloudtasker
  attr_writer :config

  #
  # Cloudtasker configurator.
  #
  def self.configure
    yield(config)
  end

  def self.config
    @config ||= Config.new
  end
end

require 'cloudtasker/engine' if defined?(::Rails::Engine)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cloudtasker-0.1.0 lib/cloudtasker.rb