Module: SpreeCmCommissioner::AddressDecorator
- Defined in:
- app/models/spree_cm_commissioner/address_decorator.rb
Class Method Summary collapse
Class Method Details
.prepended(base) ⇒ Object
3 4 5 6 |
# File 'app/models/spree_cm_commissioner/address_decorator.rb', line 3 def self.prepended(base) # Field is not mandatory base.enum gender: { :not_selected => 0, :male => 1, :female => 2, :other => 3 } end |