Sha256: 88efc283219e02c0866ff0d2a4789e302404e977fe40715fd3d6c0215b2b04b3

Contents?: true

Size: 499 Bytes

Versions: 9

Compression:

Stored size: 499 Bytes

Contents

module Pageflow
  module Panorama
    class Configuration
      DEFAULT_CONTENT_TYPE_MAPPING = {
        'css' => 'text/css',
        'js' => 'application/javascript',
        'html' => 'text/html',
        'csv' => 'text/plain'
      }

      attr_accessor :providers, :packages_base_path

      attr_reader :content_type_mapping

      def initialize
        @providers = []
        @packages_base_path = ''
        @content_type_mapping = DEFAULT_CONTENT_TYPE_MAPPING
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pageflow-panorama-2.4.0 lib/pageflow/panorama/configuration.rb
pageflow-panorama-2.3.0 lib/pageflow/panorama/configuration.rb
pageflow-panorama-2.2.0 lib/pageflow/panorama/configuration.rb
pageflow-panorama-2.1.0 lib/pageflow/panorama/configuration.rb
pageflow-panorama-2.0.0 lib/pageflow/panorama/configuration.rb
pageflow-panorama-1.0.1 lib/pageflow/panorama/configuration.rb
pageflow-panorama-1.0.0 lib/pageflow/panorama/configuration.rb
pageflow-panorama-0.3.0 lib/pageflow/panorama/configuration.rb
pageflow-panorama-0.2.0 lib/pageflow/panorama/configuration.rb