Method: ROM::Changeset.command_type

Defined in:
changeset/lib/rom/changeset.rb

.command_typeSymbol .command_type(identifier) ⇒ Symbol

Get or set changeset command type

Overloads:

  • .command_typeSymbol

    Return configured command_type

    Returns:

    • (Symbol)
  • .command_type(identifier) ⇒ Symbol

    Set relation identifier for this changeset

    Parameters:

    • identifier (Symbol)

      The command type identifier

    Returns:

    • (Symbol)


34
# File 'changeset/lib/rom/changeset.rb', line 34

defines :command_type