vindi 0.0.4 → 0.0.5
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 +5 -5
- data/lib/vindi/rest/subscription.rb +10 -0
- data/lib/vindi/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0c05ab6a1c6483593b3adde58aac9b728313f130
|
4
|
+
data.tar.gz: 23bb25ed6797379993d5cbc8026e5eae894eca42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0de40a2c4b545d69f7b8f5bd8f0504bc1fdae99f8eb945dd9926b7262113167a27f7b9aa9d09b12bea01a859a591ecb2ca32584291273b850a4fc6cfa16f1098
|
7
|
+
data.tar.gz: f50d9a92270dbca7c782cda3ac0a3dab148df248948c2c4a8a5f52fd8c9f69e69618213f3961e4791ed899f81c405994fd2d796433f56b0c3a7e006ffebc6af6
|
@@ -80,6 +80,16 @@ module Vindi
|
|
80
80
|
def delete_subscription(subscription_id, options = {})
|
81
81
|
delete("subscriptions/#{subscription_id}", options)[:subscription]
|
82
82
|
end
|
83
|
+
|
84
|
+
# List product items for a subscription
|
85
|
+
#
|
86
|
+
# @params subscription_id
|
87
|
+
# @see https://vindi.github.io/api-docs/dist/#!/subscriptions/GET_version_subscriptions_id_product_items_format
|
88
|
+
# @example List subscription product items #2
|
89
|
+
# client.list_subscription_product_items(2)
|
90
|
+
def list_subscription_product_items(subscription_id, options = {})
|
91
|
+
get("subscriptions/#{subscription_id}/product_items", options)[:product_items]
|
92
|
+
end
|
83
93
|
end
|
84
94
|
end
|
85
95
|
end
|
data/lib/vindi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vindi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vindi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -113,7 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
|
-
|
116
|
+
rubyforge_project:
|
117
|
+
rubygems_version: 2.5.1
|
117
118
|
signing_key:
|
118
119
|
specification_version: 4
|
119
120
|
summary: Ruby toolkit for working with the Vindi API
|