Sha256: 47d752c4b71d35e2c89a76ae04d5fcd9062e884df16d9f6c5befb3846e22c08f

Contents?: true

Size: 391 Bytes

Versions: 14

Compression:

Stored size: 391 Bytes

Contents

module BrInvoicesPdf
  module Cfe
    module Parser
      module AccessKey
        extend BaseParser

        module_function

        def execute(xml)
          element = xml.locate('Signature/SignedInfo').first
          return unless element
          element = element.nodes.last
          return unless element
          element.attributes[:URI]
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
br_invoices_pdf-0.2.6 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.6.alpha.18 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.5.alpha.17 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.5 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.5.alpha.16 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.4 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.4.alpha.15 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.4.alpha.14 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.3 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.2 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.1 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.0 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.0.alpha.13 lib/br_invoices_pdf/cfe/parser/access_key.rb
br_invoices_pdf-0.2.0.alpha.12 lib/br_invoices_pdf/cfe/parser/access_key.rb