Sha256: ff86f126041dfc4092c99f997a790ae8c2bb9af64f5ff342c59db589e33e8847

Contents?: true

Size: 598 Bytes

Versions: 9

Compression:

Stored size: 598 Bytes

Contents

# frozen_string_literal: true

class Grover
  #
  # Configuration of the options for Grover HTML to PDF conversion
  #
  class Configuration
    attr_accessor :options, :meta_tag_prefix, :ignore_path, :ignore_request,
                  :root_url, :use_pdf_middleware, :use_png_middleware,
                  :use_jpeg_middleware

    def initialize
      @options = {}
      @meta_tag_prefix = 'grover-'
      @ignore_path = nil
      @ignore_request = nil
      @root_url = nil
      @use_pdf_middleware = true
      @use_png_middleware = false
      @use_jpeg_middleware = false
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
grover-1.1.7 lib/grover/configuration.rb
grover-1.1.6 lib/grover/configuration.rb
grover-1.1.5 lib/grover/configuration.rb
grover-1.1.4 lib/grover/configuration.rb
grover-1.1.3 lib/grover/configuration.rb
grover-1.1.2 lib/grover/configuration.rb
grover-1.1.1 lib/grover/configuration.rb
grover-1.1.0 lib/grover/configuration.rb
grover-1.0.6 lib/grover/configuration.rb