ish_models 0.0.33.249 → 0.0.33.250
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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: 22ede27935043d3acbca5e217b8accd8e8749bb873fa0c2fec31d66959c5e8f1
|
4
|
+
data.tar.gz: 87c6f2a10a48a2b960a1dee94f1e4363609a76befa030d7bbc3d306de3c49f41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 392b97f6f8e9df5b1d309ea43035369927ddde49e41a2770045f95c49c21718db1eb2c07ffaa85df67d511ecadc736aa18bd1bf4659abf3a87de5d9d6bba484f
|
7
|
+
data.tar.gz: ff3b10c7292ba050c3365fcf302c24ac0a89c93f1842edcf2289d75e14860aaf14bd73b86a0c642f683e8ac0411ef1dace1b46c5765abe47495d75958b95fbc7
|
@@ -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
|
|