smartpay 0.2.14 → 0.2.15

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: 27577ba266e00cb77bb730e603c9b8f44d93d9062f4935f72f9ef29c9904c456
4
- data.tar.gz: d9d98d1da2b90545f42ed7a982bca956fb6eaa9beb6b90a73c0789ae6ce07bfe
3
+ metadata.gz: e69060f27a2870839a5271eb8718bbb0f7898efee00f70a06231ccc4042643f4
4
+ data.tar.gz: 739ddc687f25d13c683b7e651ec5f8b6a569d8dcddee74913bd21afbee055bbf
5
5
  SHA512:
6
- metadata.gz: 5a95a99d46cd097137108c2839802e79903ecb6902ccfafc637eee370c1bf96c272c20a8e6dc5c54af8a1d7aa3114cb6d8f1c55ced9b2916384cc5249c05a5ec
7
- data.tar.gz: 3a6651ccdf5d72b9716be260b5c20638220ef6c7da00e3ecd43db9ee405ac6ea5205d923aed0213ce9c84a4d5d0c16a22c4de4bb4a6dd373b9bc92c71bb00340
6
+ metadata.gz: 33edcef309bce743fc835bf3c812d73db904bac4a6407e85072357279d661292ce2b2e9001bfd672cd14c25e42d3fd0c8956ea57f947fed0133ae99150e48f20
7
+ data.tar.gz: 5f0ad3bef86e42f14ce864605e25505e07dab21ef23e1be1f243474f249f327a0145c742a340345cdde1e3c699ae53e8c05bbabcb4657434f906fdae1906d955
@@ -11,7 +11,7 @@ module Smartpay
11
11
 
12
12
  def initialize
13
13
  @post_timeout = DEFAULT_TIMEOUT_SETTING
14
- @api_url = DEFAULT_API_URL
14
+ @api_url = ENV['SMARTPAY_API_PREFIX'] || DEFAULT_API_URL
15
15
  @checkout_url = DEFAULT_CHECKOUT_URL
16
16
  end
17
17
 
@@ -20,7 +20,7 @@ module Smartpay
20
20
  end
21
21
 
22
22
  def api_url
23
- @api_url || DEFAULT_API_URL
23
+ @api_url || ENV['SMARTPAY_API_PREFIX'] || DEFAULT_API_URL
24
24
  end
25
25
 
26
26
  def checkout_url
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Smartpay
4
- VERSION = "0.2.14"
4
+ VERSION = "0.2.15"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smartpay