-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from pallomabritoGN/master
New release
- Loading branch information
Showing
105 changed files
with
1,265 additions
and
711 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ python: | |
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
- "3.9" | ||
- "pypy" | ||
install: | ||
- pip install -r requirements-dev.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# encoding: utf-8 | ||
|
||
from gerencianet import Gerencianet | ||
from ...credentials import credentials | ||
|
||
gn = Gerencianet(credentials.CREDENTIALS) | ||
|
||
params = { | ||
'id': 1 | ||
} | ||
|
||
response = gn.cancel_carnet(params=params) | ||
print(response) |
4 changes: 2 additions & 2 deletions
4
examples/cancel_parcel.py → examples/default/carnet/cancel_parcel.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
examples/create_carnet.py → examples/default/carnet/create_carnet.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/create_carnet_history.py → ...s/default/carnet/create_carnet_history.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/detail_carnet.py → examples/default/carnet/detail_carnet.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
examples/resend_carnet.py → examples/default/carnet/resend_carnet.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/resend_parcel.py → examples/default/carnet/resend_parcel.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# encoding: utf-8 | ||
|
||
from gerencianet import Gerencianet | ||
from ...credentials import credentials | ||
|
||
gn = Gerencianet(credentials.CREDENTIALS) | ||
|
||
params = { | ||
'id': 1 | ||
} | ||
|
||
response = gn.settle_carnet(params=params) | ||
print(response) |
28 changes: 14 additions & 14 deletions
28
examples/settle_carnet_parcel.py → ...es/default/carnet/settle_carnet_parcel.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# encoding: utf-8 | ||
|
||
from gerencianet import Gerencianet | ||
from credentials import CREDENTIALS | ||
|
||
gn = Gerencianet(CREDENTIALS) | ||
|
||
params = { | ||
'id': 1, | ||
'parcel': 1 | ||
} | ||
|
||
response = gn.settle_carnet_parcel(params=params) | ||
print(response) | ||
# encoding: utf-8 | ||
|
||
from gerencianet import Gerencianet | ||
from ...credentials import credentials | ||
|
||
gn = Gerencianet(credentials.CREDENTIALS) | ||
|
||
params = { | ||
'id': 1, | ||
'parcel': 1 | ||
} | ||
|
||
response = gn.settle_carnet_parcel(params=params) | ||
print(response) |
4 changes: 2 additions & 2 deletions
4
examples/update_carnet_metadata.py → .../default/carnet/update_carnet_metadata.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/update_parcel.py → examples/default/carnet/update_parcel.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/banking_billet.py → examples/default/charge/banking_billet.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/cancel_charge.py → examples/default/charge/cancel_charge.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/create_charge.py → examples/default/charge/create_charge.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
examples/create_charge_balance_sheet.py → ...ult/charge/create_charge_balance_sheet.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
examples/create_charge_history.py → ...s/default/charge/create_charge_history.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.