Class: Plushie::Command::Cmd

Inherits:
Data
  • Object
show all
Defined in:
lib/plushie/command.rb

Overview

The immutable command data object. All constructors return this.

Instance Attribute Summary collapse

Instance Attribute Details

#payloadObject (readonly)

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



21
22
23
# File 'lib/plushie/command.rb', line 21

def payload
  @payload
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



21
22
23
# File 'lib/plushie/command.rb', line 21

def type
  @type
end