Class: Absa::H2h::Transmission::Eft::StandardRecord

Inherits:
Record
  • Object
show all
Defined in:
lib/absa-h2h/eft.rb

Instance Method Summary collapse

Methods inherited from Record

#initialize

Constructor Details

This class inherits a constructor from Absa::H2h::Transmission::Record

Instance Method Details

#contra_record?Boolean

Returns:

  • (Boolean)


183
184
185
# File 'lib/absa-h2h/eft.rb', line 183

def contra_record?
  false
end

#validate!(options = {}) ⇒ Object



187
188
189
190
191
192
# File 'lib/absa-h2h/eft.rb', line 187

def validate!(options={})
  super(options)
  
  raise "user_ref: Position 1 - 10 is compulsory. Please provide users abbreviated name." if @user_ref[0..11].blank?
  raise "homing_account_name: Not to be left blank." if @homing_account_name.blank?
end