ROM::Plugins::Command::Timestamps::ClassInterface#datestamps

Parsed documentation:
View on GitHub
Set up attributes to datestamp when the command is called

@example
  class CreateTask < ROM::Commands::Create[:sql]
    result :one
    use :timestamps
    datestamps :created_on, :updated_on
  end

  create_user = rom.command(:user).create.curry(name: 'Jane')

  result = create_user.call
  result[:created_at]  #=> Date.today

@param [Array<Symbol>] names A list of attribute names

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