Class: PromoItem
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- PromoItem
- Includes:
- Checkable, HasOwner, Toggleable
- Defined in:
- app/models/promo_item.rb
Constant Summary collapse
- CODE_LIMIT =
5000
- LEAD_LIMIT =
250
- META_LIMIT =
250
- NAME_LIMIT =
50
- TITLE_LIMIT =
100
- URL_LIMIT =
250
Class Method Summary collapse
Class Method Details
.entity_parameters ⇒ Object
33 34 35 |
# File 'app/models/promo_item.rb', line 33 def self.entity_parameters %i[code image image_alt_text lead name promo_block_id title url] end |