Sha256: 775243384116249db60ca84e721951a082253177943fe847c809c18a7820d385

Contents?: true

Size: 640 Bytes

Versions: 1

Compression:

Stored size: 640 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, :node_env_vars

    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
      @node_env_vars = {}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grover-1.1.8 lib/grover/configuration.rb