Module: AuctionFunCore::Business::Configuration
- Included in:
- Contracts::ApplicationContract, Contracts::AuctionContext::CreateContract, Contracts::AuctionContext::Processor::StartContract
- Defined in:
- lib/auction_fun_core/business/configuration.rb
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.
Relations::Auctions::KINDS.values
- AUCTION_STATUSES =
An array of valid auction statuses derived from auction relations.
Relations::Auctions::STATUSES.values
- AUCTION_MIN_TITLE_LENGTH =
The minimum length for an auction title.
6
- AUCTION_MAX_TITLE_LENGTH =
The maximum length for an auction title.
255
- AUCTION_STOPWATCH_MIN_VALUE =
The minimum value for the auction stopwatch timer.
15
- AUCTION_STOPWATCH_MAX_VALUE =
The maximum value for the auction stopwatch timer.
60
- MIN_NAME_LENGTH =
The minimum length for a user’s name.
6
- MAX_NAME_LENGTH =
The maximum length for a user’s name.
128
- MIN_PASSWORD_LENGTH =
The minimum length for a user’s password.
6
- MAX_PASSWORD_LENGTH =
The maximum length for a user’s password.
128