class BrInvoicesPdf::Errors::InvalidDocumentType

Attributes

type[R]

Public Class Methods

new(type) click to toggle source
Calls superclass method
# File lib/br_invoices_pdf/errors/invalid_document_type.rb, line 8
def initialize(type)
  super("`#{type.inspect}` is not supported. Must be one of #{BrInvoicesPdf.supported_document_types}")
  @type = type
end