Class: Sepa::PaymentsInitiation::ContactDetails

Inherits:
Base
  • Object
show all
Defined in:
lib/sepa/payments_initiation/contact_details.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)


10
11
12
# File 'lib/sepa/payments_initiation/contact_details.rb', line 10

def empty?
  [name_prefix, name, phone_number, mobile_number, fax_number, email_address, other].compact == []
end