Module: AuctionFunCore::Business::Configuration

Overview

The Configuration module contains constants that configure various aspects of auctions, user settings, and other business rules within the AuctionFun application.

Constant Summary collapse

AUCTION_KINDS =

An array of available auction kinds derived from auction relations.

Returns:

  • (Array<String>)

    a list of all possible auction kinds

Relations::Auctions::KINDS.values
AUCTION_STATUSES =

An array of valid auction statuses derived from auction relations.

Returns:

  • (Array<String>)

    a list of all valid auction statuses

Relations::Auctions::STATUSES.values
AUCTION_MIN_TITLE_LENGTH =

The minimum length for an auction title.

Returns:

  • (Integer)

    the minimum number of characters allowed in an auction title

6
AUCTION_MAX_TITLE_LENGTH =

The maximum length for an auction title.

Returns:

  • (Integer)

    the maximum number of characters allowed in an auction title

255
AUCTION_STOPWATCH_MIN_VALUE =

The minimum value for the auction stopwatch timer.

Returns:

  • (Integer)

    the minimum seconds count for the auction stopwatch timer

15
AUCTION_STOPWATCH_MAX_VALUE =

The maximum value for the auction stopwatch timer.

Returns:

  • (Integer)

    the maximum seconds count for the auction stopwatch timer

60
MIN_NAME_LENGTH =

The minimum length for a user’s name.

Returns:

  • (Integer)

    the minimum number of characters allowed in a person’s name

6
MAX_NAME_LENGTH =

The maximum length for a user’s name.

Returns:

  • (Integer)

    the maximum number of characters allowed in a person’s name

128
MIN_PASSWORD_LENGTH =

The minimum length for a user’s password.

Returns:

  • (Integer)

    the minimum number of characters required in a person’s password

6
MAX_PASSWORD_LENGTH =

The maximum length for a user’s password.

Returns:

  • (Integer)

    the maximum number of characters allowed in a person’s password

128