ish_models 0.0.33.212 → 0.0.33.213
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ish/email_context.rb +1 -1
- data/lib/office/scheduled_email_action.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f038ff1851957b2b2d8ec01c3ab51af9a21878edbfa61c4dfda2df664b126f4
|
4
|
+
data.tar.gz: 4c682ece15b9bfa0a02e7edea7c3916ee840da82c90049d2c5755e8323c9595a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7867b58c47db3b1297144df58a51eacfd9c203f5af415028e4908223f76a480743dee435a58fbdf78963b2b595c8d01199f1140fb622cca9695a81a118d43c91
|
7
|
+
data.tar.gz: 9610d87986bf78a8fac233ea83d2fe428e995e2a62105f909ff22775b71808b27ae8e8e1382fd09e367e792e18eb8d67af6665588186a0b827b5747aa161811f
|
data/lib/ish/email_context.rb
CHANGED
@@ -12,9 +12,9 @@ class Office::ScheduledEmailAction
|
|
12
12
|
Lead.find( lead_id )
|
13
13
|
end
|
14
14
|
|
15
|
-
STATE_ACTIVE
|
15
|
+
STATE_ACTIVE = 'active'
|
16
16
|
STATE_INACTIVE = 'inactive'
|
17
|
-
STATES
|
17
|
+
STATES = [ STATE_ACTIVE, STATE_INACTIVE ]
|
18
18
|
field :state, type: :string
|
19
19
|
scope :active, ->{ where( state: STATE_ACTIVE ) }
|
20
20
|
|