Class: Sepa::PaymentsInitiation::GenericFinancialIdentification1

Inherits:
Base
  • Object
show all
Defined in:
lib/sepa/payments_initiation/generic_financial_identification_1.rb

Instance Method Summary collapse

Methods inherited from Base

array_attribute, attribute, attribute_defs, attribute_defs=, #build_xml_attributes, code_or_proprietary, definition, #empty_item?, #normalize, #string_type?, time_format=, #to_xml, typed_attribute

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/sepa/payments_initiation/generic_financial_identification_1.rb', line 9

def empty?
  [identification, issuer].join.strip == '' && (scheme_name == nil || scheme_name.empty?)
end