wco_models 3.1.0.318 → 3.1.0.319

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7202635871503e62282eec13d69be29b56bcbdfb5149bf0cde515f34492e5079
4
- data.tar.gz: 31c45480085600d8cbc51b3a2298300d0f805140ef2f3acff4fd488c70654e64
3
+ metadata.gz: eb0bbcbb476cc3baac9fdea9b4ffd0f45658b8a3569351c1fa3b76f9ee57207d
4
+ data.tar.gz: cb8718a36ab08af9d3b59b7b331aa39170bda5d05e1a8ae31b166348c36f77e1
5
5
  SHA512:
6
- metadata.gz: ef4ba52532a00be8841afbc618166728cbf46dd5a3679d847c973888a2583308fa329633c5b7fbacbf4c60ffebfc35af6483d947d715f0bb3197d7518f2b6673
7
- data.tar.gz: 7ff2ed896dae044e58e45c458b9aff55574d2b4c796efb4ca89e205861dd03c78b92f3a8951308c3055f0e3364b8ed4a963f939f3be49859742f51f4813050e5
6
+ metadata.gz: d6201360d6dfa6ab0ce3fcbc76c1d5387eb6a69d69721651f26467d9fca3cda894ec40a795facd30b48867f55e2b5163a8986cb3f82b98985b954fc5fd9a513e
7
+ data.tar.gz: 8f3983afb759a2633103ac3536cc84f9fdbf011688777514103e9810122f956853e750acb6e0ceef3a71d14cb5da60a6be4a87e86745d1f1c698982236cf4b18
@@ -12,7 +12,7 @@ class WcoEmail::EmailAction
12
12
 
13
13
 
14
14
  STATUS_ACTIVE = 'active'
15
- STATUS_INACTIVE = 'inactive'
15
+ STATUS_INACTIVE = 'disabled'
16
16
  STATUS_TRASH = 'trash'
17
17
  STATUS_UNSUBSCRIBED = 'unsubscribed'
18
18
  STATUSES = [ nil, STATUS_ACTIVE, STATUS_INACTIVE, STATUS_UNSUBSCRIBED, STATUS_TRASH ]
@@ -127,7 +127,7 @@ class WcoEmail::Message
127
127
  oa = Wco::OfficeAction.where({
128
128
  office_action_template: aject,
129
129
  lead: message.lead }).first
130
- oa.update_attributes!({ status: 'inactive' })
130
+ oa.update_attributes!({ status: 'disabled' })
131
131
 
132
132
  end
133
133
  end
data/lib/wco_models.rb CHANGED
@@ -26,7 +26,7 @@ require 'stripe'
26
26
  require "wco/engine"
27
27
 
28
28
  ACTIVE = 'active'
29
- INACTIVE = 'inactive'
29
+ INACTIVE = 'disabled'
30
30
  STATUSES = [ nil, ACTIVE, INACTIVE ]
31
31
 
32
32
  module Iro; end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.318
4
+ version: 3.1.0.319
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev