Class: Branca::Decoder
- Inherits:
-
Object
- Object
- Branca::Decoder
- Defined in:
- lib/branca/decoder.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#timestamp ⇒ Object
readonly
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(message, timestamp) ⇒ Decoder
constructor
A new instance of Decoder.
Constructor Details
#initialize(message, timestamp) ⇒ Decoder
Returns a new instance of Decoder.
7 8 9 10 |
# File 'lib/branca/decoder.rb', line 7 def initialize(, ) @message = @timestamp = end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/branca/decoder.rb', line 5 def @message end |
#timestamp ⇒ Object (readonly)
Returns the value of attribute timestamp.
5 6 7 |
# File 'lib/branca/decoder.rb', line 5 def @timestamp end |