Class: Plushie::Command::Cmd
- Inherits:
-
Data
- Object
- Data
- Plushie::Command::Cmd
- Defined in:
- lib/plushie/command.rb
Overview
The immutable command data object. All constructors return this.
Instance Attribute Summary collapse
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Details
#payload ⇒ Object (readonly)
Returns the value of attribute payload
21 22 23 |
# File 'lib/plushie/command.rb', line 21 def payload @payload end |
#type ⇒ Object (readonly)
Returns the value of attribute type
21 22 23 |
# File 'lib/plushie/command.rb', line 21 def type @type end |