ROM::Setup#commands

Parsed documentation:
View on GitHub
Command definition DSL

@example

  setup.commands(:users) do
    define(:create) do
      input NewUserParams
      validator NewUserValidator
      result :one
    end

    define(:update) do
      input UserParams
      validator UserValidator
      result :many
    end

    define(:delete) do
      result :many
    end
  end

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.