Skip to content

Commit 4a3e559

Browse files
authored
Merge pull request #18 from jvoliveiraGN/master
Correção de exemplos
2 parents 5f555a4 + 851d606 commit 4a3e559

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 2.0.2
2+
3+
- Correção do exemplo: UpdateParcel
4+
- Correção do exemplo: GetInstallments
5+
16
# 2.0.1
27

38
- Melhoria do arquivo Credentials

examples/default/carnet/updateParcel.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ var options = require('../../credentials');
55

66

77
var params = {
8-
id: 1008
8+
id: 25093006,
9+
parcel: 1
910
}
1011

1112
var body = {
12-
parcel: 1,
13-
expire_at: '2020-12-12'
13+
expire_at: '2024-12-12'
1414
}
1515

1616
var gerencianet = new Gerencianet(options);

examples/default/others/getInstallments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var options = require('../../credentials');
55

66

77
var params = {
8-
type: 'visa',
8+
brand: 'visa',
99
total: 5000
1010
}
1111

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "gn-api-sdk-node",
33
"description": "Module for integration with Gerencianet API",
4-
"version": "2.0.1",
4+
"version": "2.0.2",
55
"author": "Gerencianet - Consultoria Tecnica | João Vitor Oliveira | Francisco Carvalho",
66
"license": "MIT",
77
"repository": "gerencianet/gn-api-sdk-node",

0 commit comments

Comments
 (0)