pagseguro-oficial 2.0.6 → 2.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/examples/payment_request.rb +3 -2
- data/lib/pagseguro/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0050b2e944dc6682bd9f7df9132100ca1ee4358
|
4
|
+
data.tar.gz: 2b7d750c8adabea028fad019a1bebe11ecbc42d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df2981bdb81aa06ec264e84ab5e74bc4779327b5e66147734346556a22d490ac0d383f735a5e8acc0e2139d2d7109f3d713881fff0a0c5d4bd467fcd6952a0b8
|
7
|
+
data.tar.gz: 098b3b8a5dee04b6961f0057c3e8bfe42ebdc5ff5d330ba32951f7990f3cbdea19540567805bd84e7dc84a6deb1a11672a9a9c68fa1c3e62939651bc93f6ca4d
|
data/README.md
CHANGED
@@ -79,8 +79,9 @@ class CheckoutController < ApplicationController
|
|
79
79
|
# Caso você precise passar parâmetros para a api que ainda não foram
|
80
80
|
# mapeados na gem, você pode fazer de maneira dinâmica utilizando um
|
81
81
|
# simples hash.
|
82
|
-
payment.extra_params << {
|
83
|
-
payment.extra_params << {
|
82
|
+
payment.extra_params << { paramName: 'paramValue' }
|
83
|
+
payment.extra_params << { senderBirthDate: '07/05/1981' }
|
84
|
+
payment.extra_params << { extraAmount: '-15.00' }
|
84
85
|
|
85
86
|
response = payment.register
|
86
87
|
|
data/examples/payment_request.rb
CHANGED
@@ -37,8 +37,9 @@ payment.shipping = {
|
|
37
37
|
}
|
38
38
|
|
39
39
|
# Add extras params to request
|
40
|
-
# payment.extra_params << {
|
41
|
-
# payment.extra_params << {
|
40
|
+
# payment.extra_params << { paramName: 'paramValue' }
|
41
|
+
# payment.extra_params << { senderBirthDate: '07/05/1981' }
|
42
|
+
# payment.extra_params << { extraAmount: '-15.00' }
|
42
43
|
|
43
44
|
puts "=> REQUEST"
|
44
45
|
puts PagSeguro::PaymentRequest::Serializer.new(payment).to_params
|
data/lib/pagseguro/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pagseguro-oficial
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nando Vieira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aitch
|