Method: Sequent::Core::SerializesCommand#command
- Defined in:
- lib/sequent/core/command_record.rb
#command ⇒ Object
9 10 11 12 |
# File 'lib/sequent/core/command_record.rb', line 9 def command args = serialize_json? ? Sequent::Core::Oj.strict_load(command_json) : command_json Class.const_get(command_type).deserialize_from_json(args) end |