moyasar 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -2
- data/lib/moyasar/actions/update.rb +1 -0
- data/lib/moyasar/errors/moyasar_error.rb +0 -5
- data/lib/moyasar/invoice.rb +0 -1
- data/lib/moyasar/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a5825f485b6b9d2481d6ef791902733a96a3d60
|
4
|
+
data.tar.gz: d64a15c3921af39ae8e7bb65a7cee68f305331ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c5e7ba63511d5d241ed63eef52bc2762399950a56a7b0b4bc40d886d9b7fd56b716e5570462c3dcb8acf79681b096d6a376c953a69e34327ab70d0f6bc85c81
|
7
|
+
data.tar.gz: 69894a759921515c9567cef3f566080887d50247644bf728206e487ded1eefe3cded12f0ddd8caf8ee3b470aab43a055a4de2978a49bc2544d76c8baf17cd0c2
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -35,11 +35,11 @@ Moyasar.api_key = "sk_test_..."
|
|
35
35
|
# list payments
|
36
36
|
Moyasar::Payment.list()
|
37
37
|
|
38
|
-
# fetch single
|
38
|
+
# fetch single payment
|
39
39
|
Moyasar::Payment.fetch("760878ec-d1d3-5f72-9056-191683f55872")
|
40
40
|
|
41
41
|
# create an invoice
|
42
|
-
Moyasar::Invoice.create(
|
42
|
+
Moyasar::Invoice.create(amount: 2500, currency: 'SAR', description: 'Monthly subscription')
|
43
43
|
```
|
44
44
|
|
45
45
|
## Development
|
@@ -48,6 +48,7 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
48
48
|
|
49
49
|
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
50
50
|
|
51
|
+
|
51
52
|
## Contributing
|
52
53
|
|
53
54
|
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/moyasar. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
data/lib/moyasar/invoice.rb
CHANGED
data/lib/moyasar/version.rb
CHANGED