Sha256: ba2256bb449da4f311933ed19fe49ce733894bdc9c717cf59eaabffd8af3f20f

Contents?: true

Size: 535 Bytes

Versions: 10

Compression:

Stored size: 535 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, :root_url,
                  :use_pdf_middleware, :use_png_middleware, :use_jpeg_middleware

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
grover-1.0.5 lib/grover/configuration.rb
grover-1.0.4 lib/grover/configuration.rb
grover-1.0.3 lib/grover/configuration.rb
grover-1.0.2 lib/grover/configuration.rb
grover-1.0.1 lib/grover/configuration.rb
grover-1.0.0 lib/grover/configuration.rb
grover-0.14.2 lib/grover/configuration.rb
grover-0.14.1 lib/grover/configuration.rb
grover-0.13.3 lib/grover/configuration.rb
grover-0.13.2 lib/grover/configuration.rb