Exception: CodinRep::GetRecords::UnknownAfdRecord

Inherits:
StandardError
  • Object
show all
Defined in:
lib/codin_rep/get_records.rb

Instance Method Summary collapse

Constructor Details

#initialize(afd_record_id) ⇒ UnknownAfdRecord

Returns a new instance of UnknownAfdRecord.



27
28
29
# File 'lib/codin_rep/get_records.rb', line 27

def initialize(afd_record_id)
  @afd_record_id = afd_record_id
end

Instance Method Details

#messageObject



31
32
33
# File 'lib/codin_rep/get_records.rb', line 31

def message
  message = "The REP returned an unknown AFD record of id '#{@afd_record_id}'"
end