Module: Status

Defined in:
lib/user_profile_model_types.rb

Constant Summary collapse

ACTIVE =
0
CONFIRMED =
1
APPROVED =
2
DELETED =
3
DUPLICATE =
4
GRACE_PERIOD =
5
INVITED =
6
DENIED =
7
PENDING =
8
PENDING_APPROVAL =
9
PENDING_CONFIRMATION =
10
SUSPENDED =
11
DECLINED =
12
EXPIRED =
13
VALUE_MAP =
{0 => "ACTIVE", 1 => "CONFIRMED", 2 => "APPROVED", 3 => "DELETED", 4 => "DUPLICATE", 5 => "GRACE_PERIOD", 6 => "INVITED", 7 => "DENIED", 8 => "PENDING", 9 => "PENDING_APPROVAL", 10 => "PENDING_CONFIRMATION", 11 => "SUSPENDED", 12 => "DECLINED", 13 => "EXPIRED"}
VALID_VALUES =
Set.new([ACTIVE, CONFIRMED, APPROVED, DELETED, DUPLICATE, GRACE_PERIOD, INVITED, DENIED, PENDING, PENDING_APPROVAL, PENDING_CONFIRMATION, SUSPENDED, DECLINED, EXPIRED]).freeze