px 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/px.rb +2 -2
- data/px.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e707eaeb7a53fa58aaeb557025fc5ff7dd04018c
|
4
|
+
data.tar.gz: 4311207fcac8a40b66e97627a416d79214681490
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9aee65654b1d7a5046bebb5a3222e3cb9a81609c3baf7eff3f78c46325eebe333dc7e6605854a499bbaf1f72e819c4e1854e0b24803d51be1a1e538df08c8ec6
|
7
|
+
data.tar.gz: ab7ddc2f39be47002e615ba6e08247aa70923682421efe13885c560e5b3d2315828a09a9c8a4ed592ea18f68c01e11ec288f1c6d0e9287adc871e762ccc24f57
|
data/lib/px.rb
CHANGED
@@ -62,7 +62,7 @@ module PX
|
|
62
62
|
XML = File.expand_path("../xml/request.xml", __FILE__)
|
63
63
|
|
64
64
|
# Endpoint for Request / Response related posts
|
65
|
-
URL = "https://sec.paymentexpress.com/pxpay
|
65
|
+
URL = "https://sec.paymentexpress.com/pxaccess/pxpay.aspx"
|
66
66
|
|
67
67
|
# <Request valid="1">
|
68
68
|
# <URI>https://sec.paymentexpress.com/pxmi3/XXXX</URI>
|
@@ -121,7 +121,7 @@ module PX
|
|
121
121
|
XML = File.expand_path("../xml/response.xml", __FILE__)
|
122
122
|
|
123
123
|
# Endpoint for Request / Response related posts
|
124
|
-
URL = "https://sec.paymentexpress.com/pxpay
|
124
|
+
URL = "https://sec.paymentexpress.com/pxaccess/pxpay.aspx"
|
125
125
|
|
126
126
|
def self.parse(xml)
|
127
127
|
dict = XmlSimple.xml_in(xml, forcearray: false)
|
data/px.gemspec
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "px"
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.2"
|
6
6
|
s.summary = "PX library"
|
7
|
-
s.description = "PaymentExpress
|
7
|
+
s.description = "PaymentExpress 2.0 integration library"
|
8
8
|
s.authors = ["Cyril David"]
|
9
9
|
s.email = ["cyx@cyx.is"]
|
10
10
|
s.homepage = "http://cyx.is"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: px
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril David
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: requests
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '1.2'
|
83
|
-
description: PaymentExpress
|
83
|
+
description: PaymentExpress 2.0 integration library
|
84
84
|
email:
|
85
85
|
- cyx@cyx.is
|
86
86
|
executables: []
|