paypal-frete-facil 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
require 'net/
|
2
|
+
require 'net/https'
|
3
3
|
require 'uri'
|
4
4
|
|
5
5
|
module PayPal
|
@@ -17,7 +17,7 @@ module PayPal
|
|
17
17
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
18
18
|
|
19
19
|
request = Net::HTTP::Post.new(@uri.path)
|
20
|
-
request["Content-Type"] = "text/xml"
|
20
|
+
request["Content-Type"] = "text/xml; charset=utf-8"
|
21
21
|
request["SoapAction"] = "#{URL}/getPreco"
|
22
22
|
request.body = request_body_for(frete)
|
23
23
|
|
data/paypal-frete-facil.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{paypal-frete-facil}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Prodis a.k.a. Fernando Hamasaki"]
|