active_merchant_payline 0.2.10 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.10
1
+ 0.2.11
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{active_merchant_payline}
8
- s.version = "0.2.10"
8
+ s.version = "0.2.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ludovic Galabru"]
@@ -22,10 +22,11 @@ module ActiveMerchant #:nodoc:
22
22
  end
23
23
  end
24
24
 
25
- http = Net::HTTP.new('https://homologation.payline.com/V4/services/DirectPaymentAPI', 443)
25
+ http= Net::HTTP.new('https://homologation.payline.com/', 443)
26
26
  #http = Net::HTTP.new(self.service_url, 443)
27
- http.use_ssl = true
28
- data = xml.target!
27
+ http.use_ssl= true
28
+ path= 'V4/services/DirectPaymentAPI'
29
+ data= xml.target!
29
30
  resp, data = http.post(path, data)
30
31
  puts resp.inspect
31
32
  puts data.inspect
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 10
9
- version: 0.2.10
8
+ - 11
9
+ version: 0.2.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ludovic Galabru