Class: AvroTurf::Messaging::DecodedMessage
- Inherits:
-
Object
- Object
- AvroTurf::Messaging::DecodedMessage
- Defined in:
- lib/avro_turf/messaging.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#reader_schema ⇒ Object
readonly
Returns the value of attribute reader_schema.
-
#schema_id ⇒ Object
readonly
Returns the value of attribute schema_id.
-
#writer_schema ⇒ Object
readonly
Returns the value of attribute writer_schema.
Instance Method Summary collapse
-
#initialize(schema_id, writer_schema, reader_schema, message) ⇒ DecodedMessage
constructor
A new instance of DecodedMessage.
Constructor Details
#initialize(schema_id, writer_schema, reader_schema, message) ⇒ DecodedMessage
Returns a new instance of DecodedMessage.
31 32 33 34 35 36 |
# File 'lib/avro_turf/messaging.rb', line 31 def initialize(schema_id, writer_schema, reader_schema, ) @schema_id = schema_id @writer_schema = writer_schema @reader_schema = reader_schema @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
29 30 31 |
# File 'lib/avro_turf/messaging.rb', line 29 def @message end |
#reader_schema ⇒ Object (readonly)
Returns the value of attribute reader_schema.
28 29 30 |
# File 'lib/avro_turf/messaging.rb', line 28 def reader_schema @reader_schema end |
#schema_id ⇒ Object (readonly)
Returns the value of attribute schema_id.
26 27 28 |
# File 'lib/avro_turf/messaging.rb', line 26 def schema_id @schema_id end |
#writer_schema ⇒ Object (readonly)
Returns the value of attribute writer_schema.
27 28 29 |
# File 'lib/avro_turf/messaging.rb', line 27 def writer_schema @writer_schema end |