effective_orders 6.16.2 → 6.16.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/deluxe_api.rb +1 -1
- data/lib/effective_orders/version.rb +1 -1
- data/lib/effective_orders.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc70e63297bba4d6b81db96f3fde44ea6cd46afb084498cb7e462c2bebe7c8ba
|
4
|
+
data.tar.gz: bbd17f89c21994543925a0ddd5862ad3bc2e47318da9de27c45c41129e924e95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '087d6eb535b19ef97af82fe9cfd6b399da6954121e36567b316cbd8576d98b6de3d71dc9d10198bd08670f6ff2ad928591730bfa2fb4ee3175a6986c39dc2fcd'
|
7
|
+
data.tar.gz: 1558fa105fbad61f78be06a0e0757dd823731e205915fb3d780a02eb51ab21feb38354b03c2598e08509e7de35daa22314b9152bde59b0a83d24cbb2f961dfed
|
data/lib/effective_orders.rb
CHANGED
@@ -298,7 +298,11 @@ module EffectiveOrders
|
|
298
298
|
end
|
299
299
|
|
300
300
|
def self.deluxe_script_url
|
301
|
-
|
301
|
+
case EffectiveOrders.deluxe.fetch(:environment)
|
302
|
+
when 'production' then 'https://hostedpaymentform.deluxe.com/v2/deluxe.js'
|
303
|
+
when 'sandbox' then 'https://hostedform2.deluxe.com/V2/deluxe.js'
|
304
|
+
else raise('unexpected EffectiveOrders.deluxe :environment key. Please check your config/initializers/effective_orders.rb file')
|
305
|
+
end
|
302
306
|
end
|
303
307
|
|
304
308
|
def self.moneris_checkout_script_url
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_orders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.16.
|
4
|
+
version: 6.16.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|