ish_models 0.0.33.249 → 0.0.33.251
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_template.rb +1 -0
- data/lib/office/scheduled_email_action.rb +2 -1
- 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: 97694f897a05630940ab25cfb2db45b30d5c00c3c32dd114ae5fed006ce7c588
|
4
|
+
data.tar.gz: 86722a0cd7ee353ead0282d2a39df5218aa3e2d56be73b0493e3ff4557d00ed5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 169c1e3519c001582644484d24c33fb5fe7c46e7f7e526d36d0f38d9f2b8003277d334666507a1fc9b3079fd7da8fa4f82972276c9d26ea1f2ac3c2551d15838
|
7
|
+
data.tar.gz: 75df8f2672752b36797c7f2c10b2fcbea89855601b30ec2050ea6bf48896559995554cb0817f75e99d1a4712b1f9b9c9b7598d2b7efe8de28160ef5fb3a6abad
|
data/lib/ish/email_template.rb
CHANGED
@@ -15,7 +15,8 @@ class Office::ScheduledEmailAction
|
|
15
15
|
|
16
16
|
STATE_ACTIVE = 'active'
|
17
17
|
STATE_INACTIVE = 'inactive'
|
18
|
-
|
18
|
+
STATE_TRASH = 'trash'
|
19
|
+
STATES = [ STATE_ACTIVE, STATE_INACTIVE, STATE_TRASH ]
|
19
20
|
field :state, type: :string
|
20
21
|
scope :active, ->{ where( state: STATE_ACTIVE ) }
|
21
22
|
|