Sha256: e4285aa2f030ec9692425e2ab733aa061979e7ab35c5ac9d4103e127f04e6dac

Contents?: true

Size: 590 Bytes

Versions: 9

Compression:

Stored size: 590 Bytes

Contents

module BrDanfe
  module DanfeLib
    class Base
      attr_reader :options

      def initialize(xml)
        @xml = xml
        @document = document
        @options = BrDanfe::Logo::Config.new

        create_watermark
      end

      def save_pdf(filename, footer_info = '')
        generate footer_info
        @document.render_file filename
      end

      def render_pdf(footer_info = '')
        generate footer_info
        @document.render
      end

      private

      def document; end

      def create_watermark; end

      def generate(footer_info); end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
br_danfe-0.14.5 lib/br_danfe/danfe_lib/base.rb
br_danfe-0.14.4 lib/br_danfe/danfe_lib/base.rb
br_danfe-0.14.3 lib/br_danfe/danfe_lib/base.rb
br_danfe-0.14.2 lib/br_danfe/danfe_lib/base.rb
br_danfe-0.14.0 lib/br_danfe/danfe_lib/base.rb
br_danfe-0.13.3 lib/br_danfe/danfe_lib/base.rb
br_danfe-0.13.2 lib/br_danfe/danfe_lib/base.rb
br_danfe-0.13.1 lib/br_danfe/danfe_lib/base.rb
br_danfe-0.13.0 lib/br_danfe/danfe_lib/base.rb