flutterwave_sdk 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +32 -0
- data/.rspec +3 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +34 -0
- data/LICENSE.txt +21 -0
- data/README.md +1282 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/flutterwave_sdk.gemspec +28 -0
- data/lib/flutterwave_sdk/error.rb +15 -0
- data/lib/flutterwave_sdk/flutterwave_modules/base_endpoints.rb +5 -0
- data/lib/flutterwave_sdk/flutterwave_modules/util.rb +26 -0
- data/lib/flutterwave_sdk/flutterwave_objects/account_payment.rb +55 -0
- data/lib/flutterwave_sdk/flutterwave_objects/bank.rb +17 -0
- data/lib/flutterwave_sdk/flutterwave_objects/bank_transfer.rb +30 -0
- data/lib/flutterwave_sdk/flutterwave_objects/base/base.rb +109 -0
- data/lib/flutterwave_sdk/flutterwave_objects/base/card_base.rb +49 -0
- data/lib/flutterwave_sdk/flutterwave_objects/beneficiaries.rb +34 -0
- data/lib/flutterwave_sdk/flutterwave_objects/bills.rb +86 -0
- data/lib/flutterwave_sdk/flutterwave_objects/card.rb +55 -0
- data/lib/flutterwave_sdk/flutterwave_objects/misc.rb +37 -0
- data/lib/flutterwave_sdk/flutterwave_objects/mobile_money.rb +49 -0
- data/lib/flutterwave_sdk/flutterwave_objects/otp.rb +22 -0
- data/lib/flutterwave_sdk/flutterwave_objects/payment_plan.rb +42 -0
- data/lib/flutterwave_sdk/flutterwave_objects/preauthorise.rb +26 -0
- data/lib/flutterwave_sdk/flutterwave_objects/qr.rb +28 -0
- data/lib/flutterwave_sdk/flutterwave_objects/settlements.rb +17 -0
- data/lib/flutterwave_sdk/flutterwave_objects/subaccount.rb +40 -0
- data/lib/flutterwave_sdk/flutterwave_objects/subscriptions.rb +25 -0
- data/lib/flutterwave_sdk/flutterwave_objects/tokenized_charge.rb +61 -0
- data/lib/flutterwave_sdk/flutterwave_objects/transactions.rb +47 -0
- data/lib/flutterwave_sdk/flutterwave_objects/transfer.rb +46 -0
- data/lib/flutterwave_sdk/flutterwave_objects/ussd_payment.rb +27 -0
- data/lib/flutterwave_sdk/flutterwave_objects/virtual_account_number.rb +34 -0
- data/lib/flutterwave_sdk/flutterwave_objects/virtual_card.rb +66 -0
- data/lib/flutterwave_sdk/version.rb +3 -0
- data/lib/flutterwave_sdk.rb +126 -0
- metadata +88 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 52a78e8eb77b46ebf44422626a60c88b7ba4d3225cd57a657fe4bd47530b40bf
|
4
|
+
data.tar.gz: fdc6fab6885aad2e5f98ca6a23db76fc3d03056ada050a16d5688e754f7525c8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ed09550990eb7c7f8f79a004d608c6d0b8bdcb1004815e28d49c2f322271d7bac499733352468960e02f6538483d6175877c585085e684994a4d4b67b46db751
|
7
|
+
data.tar.gz: '04929d10fa12d1278383e5a5c04a03c16d6857057968b1bc72cd12bf8be6b2060a4674650a84e40fa12700fb6a5b7c8d1ae08989c39f17a5198f69504711ef77'
|
data/.gitignore
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
/.bundle/
|
2
|
+
/.yardoc
|
3
|
+
/_yardoc/
|
4
|
+
/coverage/
|
5
|
+
/doc/
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/tmp/
|
9
|
+
|
10
|
+
# rspec failure tracking
|
11
|
+
.rspec_status
|
12
|
+
charge_test.rb
|
13
|
+
mobile_money_test.rb
|
14
|
+
account_payment_test.rb
|
15
|
+
bank_transfer_test.rb
|
16
|
+
ussd_test.rb
|
17
|
+
qr_test.rb
|
18
|
+
tokenized_test.rb
|
19
|
+
transactions_test.rb
|
20
|
+
transfers_test.rb
|
21
|
+
bank_test.rb
|
22
|
+
misc_test.rb
|
23
|
+
payment_plan_test.rb
|
24
|
+
beneficiaries_test.rb
|
25
|
+
subscriptions_test.rb
|
26
|
+
virtual_card_test.rb
|
27
|
+
subaccount_test.rb
|
28
|
+
settlements_test.rb
|
29
|
+
otp_test.rb
|
30
|
+
virtual_account_number_test.rb
|
31
|
+
bills_test.rb
|
32
|
+
preauth_test.rb
|
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at ifavour902@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [https://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: https://contributor-covenant.org
|
74
|
+
[version]: https://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
flutterwave_sdk (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.3)
|
10
|
+
rake (12.3.3)
|
11
|
+
rspec (3.9.0)
|
12
|
+
rspec-core (~> 3.9.0)
|
13
|
+
rspec-expectations (~> 3.9.0)
|
14
|
+
rspec-mocks (~> 3.9.0)
|
15
|
+
rspec-core (3.9.1)
|
16
|
+
rspec-support (~> 3.9.1)
|
17
|
+
rspec-expectations (3.9.0)
|
18
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
+
rspec-support (~> 3.9.0)
|
20
|
+
rspec-mocks (3.9.1)
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
+
rspec-support (~> 3.9.0)
|
23
|
+
rspec-support (3.9.2)
|
24
|
+
|
25
|
+
PLATFORMS
|
26
|
+
ruby
|
27
|
+
|
28
|
+
DEPENDENCIES
|
29
|
+
flutterwave_sdk!
|
30
|
+
rake (~> 12.0)
|
31
|
+
rspec (~> 3.0)
|
32
|
+
|
33
|
+
BUNDLED WITH
|
34
|
+
2.1.4
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Ifunanya Ikemma
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|