Sha256: 018d478fad49e57447d51de66ca729ac51bab84f2fec5e7ea5800075499277a7

Contents?: true

Size: 478 Bytes

Versions: 1

Compression:

Stored size: 478 Bytes

Contents

#
# The Penthouse::Configuration class contains all configuration options for
# Penthouse, such as which router to use.
#
# @example
#   Penthouse.configure do |config|
#     config.router = Penthouse::Routers::BaseRouter
#     config.runner = Penthouse::Runners::BaseRunner
#   end
#

module Penthouse
  class Configuration
    attr_accessor :router, :runner

    def initialize(router: nil, runner: nil)
      self.router = router
      self.runner = runner
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
penthouse-0.1.0 lib/penthouse/configuration.rb