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.
34 35 36 37 38 39 |
# File 'lib/avro_turf/messaging.rb', line 34 def initialize(schema_id, writer_schema, reader_schema, ) @schema_id = schema_id @writer_schema = writer_schema @reader_schema = reader_schema = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
32 33 34 |
# File 'lib/avro_turf/messaging.rb', line 32 def end |
#reader_schema ⇒ Object (readonly)
Returns the value of attribute reader_schema.
31 32 33 |
# File 'lib/avro_turf/messaging.rb', line 31 def reader_schema @reader_schema end |
#schema_id ⇒ Object (readonly)
Returns the value of attribute schema_id.
29 30 31 |
# File 'lib/avro_turf/messaging.rb', line 29 def schema_id @schema_id end |
#writer_schema ⇒ Object (readonly)
Returns the value of attribute writer_schema.
30 31 32 |
# File 'lib/avro_turf/messaging.rb', line 30 def writer_schema @writer_schema end |