Sha256: b08e5b44375c6cdd5ed5ffd988f96ed9cff201e3c16bdf57edc14cd2687a3689

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

require "delegate"

module Hanami
  # @api private
  class Configuration
    # @api private
    class App < SimpleDelegator
      # @api private
      attr_reader :path_prefix
      # @api private
      attr_reader :host

      # @api private
      def initialize(app, options = {})
        super(app)
        @path_prefix = options[:at]
        @host = options[:host]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hanami-1.3.5 lib/hanami/configuration/app.rb
hanami-1.3.4 lib/hanami/configuration/app.rb
hanami-1.3.3 lib/hanami/configuration/app.rb