Class: Renalware::Patients::Ingestion::MessageMapper
- Inherits:
-
Object
- Object
- Renalware::Patients::Ingestion::MessageMapper
- Defined in:
- app/models/renalware/patients/ingestion/message_mapper.rb
Overview
Responsible for mapping attributes from a message to attributes to domain models.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
- #fetch ⇒ Object
-
#initialize(message) ⇒ MessageMapper
constructor
A new instance of MessageMapper.
Constructor Details
#initialize(message) ⇒ MessageMapper
Returns a new instance of MessageMapper.
10 11 12 |
# File 'app/models/renalware/patients/ingestion/message_mapper.rb', line 10 def initialize() = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
14 15 16 |
# File 'app/models/renalware/patients/ingestion/message_mapper.rb', line 14 def end |
Instance Method Details
#fetch ⇒ Object
16 17 18 |
# File 'app/models/renalware/patients/ingestion/message_mapper.rb', line 16 def fetch raise NotImplementedError end |