Sha256: d2553f71810b0bfbabd5dec6dd37ae918639d5d03d9ede2d852fa1f3836ab0f0
Contents?: true
Size: 636 Bytes
Versions: 2
Compression:
Stored size: 636 Bytes
Contents
require "query_report/engine" module QueryReport autoload :Configuration, "query_report/config" def self.configure(&block) yield @config ||= QueryReport::Configuration.new end def self.config @config end configure do |config| config.pdf_options = { template_class: nil, color: '000000', font_size: 12, table: { row: {odd_bg_color: "DDDDDD", even_bg_color: "FFFFFF"}, header: {bg_color: 'AAAAAA', font_size: 12} }, chart: { height: 160, width: 200 } } config.date_format = :default config.datetime_format = :default end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
query_report-1.0.4 | lib/query_report.rb |
query_report-1.0.3 | lib/query_report.rb |