ruby-eupago 0.2.2 → 0.2.3
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/lib/ruby-eupago/api/v1/multibanco.rb +12 -0
- data/lib/ruby-eupago/api/v1/pix.rb +13 -0
- data/lib/ruby-eupago/api/v1.rb +2 -0
- data/lib/ruby-eupago/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28ae57ad8640c48fb1de7616361f9aedec7e1c4bc5986460d1c753a2013364de
|
|
4
|
+
data.tar.gz: 213eb6b5787314b7904433e449394b4d9abb5182a7d07653946c306cae1670c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7dd94437f7db235b0b8cc9b4ccb7aa60207396d617547113041f64db9c9b03629f3a013b0ac9e3fdf2f96a3d7595a39841e9f567e8ac1c28744a2d943859731
|
|
7
|
+
data.tar.gz: b02b23787ae74830c3f8146abf598d40bc273de4c8d323657dccc9bd006303260bd59a091fa9c1a20259e259a931ac7da764d444ec6e135fb47636d9e7328f00
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
module EuPago
|
|
2
|
+
module Api
|
|
3
|
+
module V1
|
|
4
|
+
class Pix
|
|
5
|
+
# TODO: Create spec when support enable pix payments in my sandbox account
|
|
6
|
+
# https://eupago.readme.io/reference/europix
|
|
7
|
+
def self.payment(body)
|
|
8
|
+
V1.client.post("/pix/create", body: body)
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
data/lib/ruby-eupago/api/v1.rb
CHANGED
data/lib/ruby-eupago/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-eupago
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexandro Castro
|
|
@@ -153,7 +153,9 @@ files:
|
|
|
153
153
|
- lib/ruby-eupago/api/v1/credit_card.rb
|
|
154
154
|
- lib/ruby-eupago/api/v1/direct_debit.rb
|
|
155
155
|
- lib/ruby-eupago/api/v1/mbway.rb
|
|
156
|
+
- lib/ruby-eupago/api/v1/multibanco.rb
|
|
156
157
|
- lib/ruby-eupago/api/v1/payouts.rb
|
|
158
|
+
- lib/ruby-eupago/api/v1/pix.rb
|
|
157
159
|
- lib/ruby-eupago/api/v1/references.rb
|
|
158
160
|
- lib/ruby-eupago/client.rb
|
|
159
161
|
- lib/ruby-eupago/constants.rb
|