Sha256: ee9a5b6588658eb9a9fdc60f233a05652b59188893c64ced1fcf9f9136a32870

Contents?: true

Size: 502 Bytes

Versions: 14

Compression:

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

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
grover-0.13.1 lib/grover/configuration.rb
grover-0.12.3 lib/grover/configuration.rb
grover-0.12.2 lib/grover/configuration.rb
grover-0.12.1 lib/grover/configuration.rb
grover-0.11.4 lib/grover/configuration.rb
grover-0.11.3 lib/grover/configuration.rb
grover-0.11.2 lib/grover/configuration.rb
grover-0.11.1 lib/grover/configuration.rb
grover-0.10.1 lib/grover/configuration.rb
grover-0.9.2 lib/grover/configuration.rb
grover-0.9.1 lib/grover/configuration.rb
grover-0.8.3 lib/grover/configuration.rb
grover-0.8.2 lib/grover/configuration.rb
grover-0.8.1 lib/grover/configuration.rb