Skip to content

Commit fb65485

Browse files
author
julian
committed
updated for deploy
1 parent e6dfefc commit fb65485

File tree

7 files changed

+9
-12
lines changed

7 files changed

+9
-12
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
syntax: glob;
22

33
*.pyc
4-
main.py
4+
test.py

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ data = {
3232
}
3333
}
3434

35-
oxxo_charge = client.charges(data)
35+
oxxo_charge = client.charges.create(data)
3636

37-
print oxxo_charge
37+
print oxxo_charge.to_json()
3838

3939
```
4040

4141
## Endpoints
4242

4343
```
44-
charges()
44+
charges.create()
4545
```

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Conekta python wrapper
22

3-
For more info: https://github.com/julianceballos/pyconekta
3+
For more info: https://github.com/julianceballos/conekta

conekta/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#coding: utf-8
33
#(c) 2013 Julian Ceballos <@jceb>
44

5-
import requests
65
import inspect
76
from httplib2 import Http
87

@@ -14,7 +13,7 @@
1413
API_VERSION = '0.1'
1514

1615
__version__ = API_VERSION
17-
__author__ = u'Julián Ceballos'
16+
__author__ = 'Julian Ceballos'
1817

1918
API_BASE = 'https://paymentsapi-dev.herokuapp.com/'
2019

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
author = str(conekta.__author__)
1010

1111
setup(
12-
name='pyconekta',
12+
name='conekta',
1313
version=version,
1414
author=author,
1515
author_email='[email protected]',
@@ -18,7 +18,7 @@
1818
long_description=open('./README.txt', 'r').read(),
1919
download_url='http://github.com/julianceballos/conekta/tarball/master',
2020
classifiers=[
21-
'Development Status :: 1 - Production/Stable',
21+
'Development Status :: 5 - Production/Stable',
2222
'Intended Audience :: Developers',
2323
'Natural Language :: English',
2424
'Operating System :: OS Independent',

tests/test_charges.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python
2-
# coding: utf-8
2+
#coding: utf-8
33
#(c) 2013 Julian Ceballos <@jceb>
44

55
from . import BaseEndpointTestCase

0 commit comments

Comments
 (0)