rails-paypal-gem 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails-paypal-gem.rb +1 -1
- data/lib/rails-paypal-gem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 849d4747eb342f6004d4667542e549a33672becb
|
4
|
+
data.tar.gz: c131e07fa5fb7ac095eef9566e3f421752992666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e74e013039eada11c9a67dbc7292793e87b4830d92b8a5007c181123d30d0fc5c199036430f6f225a26acc475aca1da2cfd63e69a69e86f19353bc1c7722e2cf
|
7
|
+
data.tar.gz: 9c9b82149b699b89adc4c6c3c8f8f1e6eec5210530eaca1dc90de7031d4b23afdf080452be501a3c498e22904ea24631bf863efb6cf7600ac8b7931079760cbd
|
data/lib/rails-paypal-gem.rb
CHANGED
@@ -2,7 +2,7 @@ require 'httparty'
|
|
2
2
|
require 'rails-paypal-gem/nvp-parser'
|
3
3
|
class RailsPaypalGem
|
4
4
|
include HTTParty
|
5
|
-
if Rails.env == "development"
|
5
|
+
if Rails.env == "development" || Rails.env == "staging"
|
6
6
|
base_uri "https://api-3t.sandbox.paypal.com/nvp"
|
7
7
|
else
|
8
8
|
base_uri "https://api-3t.paypal.com/nvp"
|