Module: Messaging::Message::Transform
- Defined in:
- lib/messaging/message/transform.rb
Defined Under Namespace
Modules: MessageData
Class Method Summary collapse
Class Method Details
.instance(message_data_data, cls) ⇒ Object
12 13 14 15 16 |
# File 'lib/messaging/message/transform.rb', line 12 def self.instance(, cls) instance = cls.build([:data], [:metadata]) instance.id = [:id] instance end |
.message_data ⇒ Object
4 5 6 |
# File 'lib/messaging/message/transform.rb', line 4 def self. MessageData end |
.raw_data(message) ⇒ Object
8 9 10 |
# File 'lib/messaging/message/transform.rb', line 8 def self.raw_data() end |