easy_pay_u_latam 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: 8da8244521768a0af8b10ec8b38456d493460d99
4
- data.tar.gz: d864dc71969e8cd3ddfc76f3b2bf86f5fe4e4bc1
3
+ metadata.gz: 0f4dd82041df5b8fbacb63cd52e499de07a0c418
4
+ data.tar.gz: 69705258277e6377b40d169a34301377dc48c7f3
5
5
  SHA512:
6
- metadata.gz: 8300823f23751a43b854706c35a0103e624759d38eeda6f8d1a4c620232eeaa230505b8518c1cffd6019f979f11d6902c9e848e7bb9b4de5073c8454429b9af5
7
- data.tar.gz: 1fb86effdc564141511bf8c82aa51600b87dbc9f8e8f5c1518574fcdab4db921eeff7bcaf7aecc7f67f0c8603c57930f4d081848c4bc8603e428728013e31fca
6
+ metadata.gz: e43eed9986e3974c8c2c1953460ab9c76daf32f2d1446b294ae6dc862f91a14e9485b6b2e514433b92b584f40202b97391980c46d7f10baa954ef1110ce25c3a
7
+ data.tar.gz: e30372d048b151595b9bfc218c754c5ce7de417500bc4cef19f36fc98a7d87499486cc66e6a01273accbae14e9b2f286cbf6539a0dc763de9e5ea9be6dd5309c
@@ -24,7 +24,7 @@ module EasyPayULatam
24
24
  end
25
25
 
26
26
  def get_api_key
27
- if ENV["RAILS_ENV"] == "development" || ENV["RAILS_ENV"] == "test"
27
+ if ENV["RAILS_ENV"] != "production"
28
28
  @test_api_key
29
29
  else
30
30
  @api_key
@@ -32,7 +32,7 @@ module EasyPayULatam
32
32
  end
33
33
 
34
34
  def get_merchant_id
35
- if ENV["RAILS_ENV"] == "development" || ENV["RAILS_ENV"] == "test"
35
+ if ENV["RAILS_ENV"] != "production"
36
36
  @test_merchant_id
37
37
  else
38
38
  @merchant_id
@@ -40,7 +40,7 @@ module EasyPayULatam
40
40
  end
41
41
 
42
42
  def get_account_id
43
- if ENV["RAILS_ENV"] == "development" || ENV["RAILS_ENV"] == "test"
43
+ if ENV["RAILS_ENV"] != "production"
44
44
  @test_account_id
45
45
  else
46
46
  @account_id
@@ -48,7 +48,7 @@ module EasyPayULatam
48
48
  end
49
49
 
50
50
  def get_payu_url
51
- if ENV["RAILS_ENV"] == "development" || ENV["RAILS_ENV"] == "test"
51
+ if ENV["RAILS_ENV"] != "production"
52
52
  @test_payu_url
53
53
  else
54
54
  @payu_url
@@ -56,7 +56,7 @@ module EasyPayULatam
56
56
  end
57
57
 
58
58
  def get_root_url
59
- if ENV["RAILS_ENV"] == "development" || ENV["RAILS_ENV"] == "test"
59
+ if ENV["RAILS_ENV"] != "production"
60
60
  @test_root_url
61
61
  else
62
62
  @root_url
@@ -1,3 +1,3 @@
1
1
  module EasyPayULatam
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_pay_u_latam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - DEVPENGUIN