fawry 1.0.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +35 -0
- data/.rubocop.yml +4 -3
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +57 -56
- data/README-ar.md +184 -0
- data/README.md +75 -22
- data/Rakefile +8 -1
- data/fawry.gemspec +7 -7
- data/lib/fawry.rb +100 -1
- data/lib/fawry/config.rb +17 -0
- data/lib/fawry/connection.rb +22 -6
- data/lib/fawry/contracts/charge_request_contract.rb +7 -4
- data/lib/fawry/contracts/create_card_token_request_contract.rb +33 -0
- data/lib/fawry/contracts/delete_token_request_contract.rb +30 -0
- data/lib/fawry/contracts/list_tokens_request_contract.rb +29 -0
- data/lib/fawry/contracts/payment_status_request_contract.rb +6 -4
- data/lib/fawry/contracts/refund_request_contract.rb +6 -4
- data/lib/fawry/errors.rb +1 -0
- data/lib/fawry/fawry_callback.rb +1 -1
- data/lib/fawry/fawry_request.rb +14 -0
- data/lib/fawry/requests/charge_request.rb +5 -4
- data/lib/fawry/requests/create_card_token_request.rb +57 -0
- data/lib/fawry/requests/delete_token_request.rb +62 -0
- data/lib/fawry/requests/list_tokens_request.rb +57 -0
- data/lib/fawry/requests/payment_status_request.rb +3 -3
- data/lib/fawry/requests/refund_request.rb +3 -3
- data/lib/fawry/utils.rb +3 -1
- data/lib/fawry/version.rb +1 -1
- metadata +26 -29
- data/.github/workflows/greetings.yml +0 -13
@@ -1,13 +0,0 @@
|
|
1
|
-
name: Greetings
|
2
|
-
|
3
|
-
on: [pull_request, issues]
|
4
|
-
|
5
|
-
jobs:
|
6
|
-
greeting:
|
7
|
-
runs-on: ubuntu-latest
|
8
|
-
steps:
|
9
|
-
- uses: actions/first-interaction@v1
|
10
|
-
with:
|
11
|
-
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
12
|
-
issue-message: "Hello, thanks for taking the time to open this issue. We'll get to it as soon as possible."
|
13
|
-
pr-message: "Hello, thanks for taking the time to open this PR. We'll get to it as soon as possible."
|