spree_sendwithus 2.0.11.5 → 2.0.11.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a20a3cf803b52f569cff86381e54e87a8d306ec
4
- data.tar.gz: 11ff87ffa63f595e01d11ecefb48739ddd95bf19
3
+ metadata.gz: 7c7664f03f26e070210c76f8e8c0b75aec249647
4
+ data.tar.gz: d5c2fe5679354c9a31af8522cb26deb358b78218
5
5
  SHA512:
6
- metadata.gz: 7d90340f4578c14d4104c89375d4b881a47f120179014419c8e4043a4f464e0be8abb4065b6272a128de8497b27ef95d01ed61f206092569af9238a04373030a
7
- data.tar.gz: 21ada587ffbee89263fd87356955451b28eb6c6afd1ae89b451470bb7ec7f76188caf611eb2374a1c76764d7341e16a7951d3e69989aaf7cd3fbe0e728f746ad
6
+ metadata.gz: 6df471f940e3cbf8384e6cf47484e7f1be3672ad4a57418d1b8a466602cc5365200a4d0849c48ec672aaf3476770945a63dd7814c85881672e923472b43d0878
7
+ data.tar.gz: 67a7e8012b5c5a17e46196908cb4076fcea5654397a339ca2e959e3e2c0955281ea8705d0980495fd5de492e7c553ae66280f818d5ad6688d3d038c7fc1e43f4
@@ -4,3 +4,12 @@ require 'spree_core'
4
4
  require 'spree_sendwithus/mailer'
5
5
  require 'spree_sendwithus/message'
6
6
  require 'spree_sendwithus/engine'
7
+
8
+ module Spree
9
+ module SendWithUs
10
+ class Base
11
+ include ActiveSupport::Configurable
12
+ config_accessor :esp_account, instance_accessor: false
13
+ end
14
+ end
15
+ end
@@ -13,7 +13,7 @@ module Spree
13
13
  @cc = []
14
14
  @bcc = []
15
15
  @files = []
16
- @esp_account = ""
16
+ @esp_account = Base.esp_account || ""
17
17
  end
18
18
 
19
19
  def assign(key, value)
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  s.platform = Gem::Platform::RUBY
4
4
  s.name = 'spree_sendwithus'
5
- s.version = '2.0.11.5'
5
+ s.version = '2.0.11.6'
6
6
  s.summary = 'SendWithUs integration'
7
7
  s.license = 'BSD-3'
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_sendwithus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11.5
4
+ version: 2.0.11.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - FreeRunning Technologies