voucherify 2.2.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -1
- data/lib/voucherify/service/distributions.rb +5 -1
- data/lib/voucherify/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51dddce2fbe8e44af38da1b950021e2a752b08bb
|
4
|
+
data.tar.gz: 7b05e162ef18d772b3cf91462b1d7c53802493c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6707f69ab862bf9435036206dd22fe2ee3b707d84e0ec33daff792cde9f5d75b44592fd67a41987cf9ae4e81389714039fe76da8b73689ef7f41ed8be72d292
|
7
|
+
data.tar.gz: 27c8835ecccb55b94089495ec7f6e4e5823c3c0cf5d455beea935e39680407fb377e161fcf36172ed3f2d113c014958ce36f9bb696c694ee4d158ae6ffbb4d4f
|
data/README.md
CHANGED
@@ -198,6 +198,8 @@ Methods are provided within `voucherify.distributions.*` namespace.
|
|
198
198
|
- [Create Export](#create-export)
|
199
199
|
- [Get Export](#get-export)
|
200
200
|
- [Delete Export](#delete-export)
|
201
|
+
- [List Publications](#list-publications)
|
202
|
+
- [Create Publication](#create-publication)
|
201
203
|
|
202
204
|
#### [Publish Vouchers]
|
203
205
|
```ruby
|
@@ -215,7 +217,14 @@ voucherify.distributions.get_export(export_id)
|
|
215
217
|
```ruby
|
216
218
|
voucherify.distributions.delete_export(export_id)
|
217
219
|
```
|
218
|
-
|
220
|
+
#### [List Publications]
|
221
|
+
```ruby
|
222
|
+
voucherify.distributions.list_publications(params)
|
223
|
+
```
|
224
|
+
#### [Create Publication]
|
225
|
+
```ruby
|
226
|
+
voucherify.distributions.create_publication(publication)
|
227
|
+
```
|
219
228
|
---
|
220
229
|
|
221
230
|
### Validations API
|
@@ -727,6 +736,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
727
736
|
Bug reports and pull requests are welcome on GitHub at https://github.com/rspective/voucherify-ruby-sdk.
|
728
737
|
|
729
738
|
## Changelog
|
739
|
+
- **2019-05-09** - `2.3.0` - Added `create_publication` method in Distributions module..
|
730
740
|
- **2019-04-23** - `2.2.0` - Loyalties API, Rewards API, Orders API.
|
731
741
|
- **2019-02-19** - `2.1.1` - Treat `referral` as optional in custom events. Added new method for custom event tracking.
|
732
742
|
- **2019-02-19** - `2.1.0` - Handle `referral` in custom events tracking.
|
@@ -780,6 +790,8 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
780
790
|
[Create Export]: https://docs.voucherify.io/reference?utm_source=github&utm_medium=sdk&utm_campaign=acq#create-export
|
781
791
|
[Get Export]: https://docs.voucherify.io/reference?utm_source=github&utm_medium=sdk&utm_campaign=acq#get-export
|
782
792
|
[Delete Export]: https://docs.voucherify.io/reference?utm_source=github&utm_medium=sdk&utm_campaign=acq#delete-export
|
793
|
+
[List Publications]: https://docs.voucherify.io/reference?utm_source=github&utm_medium=sdk&utm_campaign=acq#list-publications
|
794
|
+
[Create Publication]: https://docs.voucherify.io/reference?utm_source=github&utm_medium=sdk&utm_campaign=acq#create-publication
|
783
795
|
|
784
796
|
[Validate Voucher]: https://docs.voucherify.io/reference?utm_source=github&utm_medium=sdk&utm_campaign=acq#validate-voucher
|
785
797
|
|
data/lib/voucherify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voucherify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pawelrychlik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|