dlocal_go 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/Gemfile.lock +1 -1
- data/README.md +14 -0
- data/lib/dlocal_go/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 742994b45e67cb4d844d69cd4570795367e3f51fa0f6aaaa57d620679b1bbd99
|
4
|
+
data.tar.gz: 25fb5000d012caa135caa37c432ab3282d9e4a4eae875a5356aa209ce3a59836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf2f018e82417debfb6f3108da4d0fbd4552509861ee16cb5cae9d1ffb5b068eb008d8fc2e43c994c811af188ceb042e72eff4e160e89b0bbe5a82d6882d772b
|
7
|
+
data.tar.gz: 42e6313c58bfc8ee44bedb9144f67cad7d49e90976897f3c3eb988fa46b57b6e278ba9f46c820524d2bade6d0d9f3ec2e52e66caedd924f4e5ddade9d2880db8
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## [0.1.0] -
|
1
|
+
## [0.1.0] - 03-03-2023
|
2
2
|
|
3
3
|
### Initial release
|
4
4
|
|
@@ -6,3 +6,7 @@
|
|
6
6
|
- Config environment and supported countries
|
7
7
|
- Basic client with: create_payment, get_payment, and create_refund
|
8
8
|
|
9
|
+
## [0.1.1] - 03-04-2023
|
10
|
+
|
11
|
+
- Better instructions in README.md
|
12
|
+
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -13,6 +13,11 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
13
13
|
|
14
14
|
$ gem install dlocal_go
|
15
15
|
|
16
|
+
## Preview
|
17
|
+
|
18
|
+
https://user-images.githubusercontent.com/57004457/222937723-c95ca31c-2871-4f0f-a61e-fd4c9738e75f.mp4
|
19
|
+
|
20
|
+
|
16
21
|
## Usage
|
17
22
|
|
18
23
|
1. Configure DlocalGo in a initializer
|
@@ -42,6 +47,9 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
42
47
|
}
|
43
48
|
response = DlocalGo::Client.create_payment(params)
|
44
49
|
# If request is not successful, it will raise a DlocalGo::Error, otherwise the response will be a DlocalGo::Response::Payment object
|
50
|
+
|
51
|
+
# You might want to save the payment from the response before redirecting, so you can update the state later via a webhook (notification_url)
|
52
|
+
redirect_to response.redirect_url, allow_other_host: true
|
45
53
|
```
|
46
54
|
|
47
55
|
- Get Payment
|
@@ -70,3 +78,9 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/MetaLa
|
|
70
78
|
## License
|
71
79
|
|
72
80
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
81
|
+
|
82
|
+
## Authors
|
83
|
+
|
84
|
+
Made with ❤️ by MetaLabs' Team
|
85
|
+
|
86
|
+
<img width="240" alt="Screenshot 2023-03-04 at 23 10 21" src="https://user-images.githubusercontent.com/57004457/222937877-f6d26748-ff85-4907-905b-d9a4b1469daf.png">
|
data/lib/dlocal_go/version.rb
CHANGED