vindi 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 362e673dc12d747bf4923df719ec27c866162cc76221cfd2bb51a92b0cf4169f
4
- data.tar.gz: 2b0c0414609bd59f5cc3d12ad286b8285206d73e80755a065959b57a0fbc8d09
2
+ SHA1:
3
+ metadata.gz: 0c05ab6a1c6483593b3adde58aac9b728313f130
4
+ data.tar.gz: 23bb25ed6797379993d5cbc8026e5eae894eca42
5
5
  SHA512:
6
- metadata.gz: 64d4514d64c82a8df57d29ad7f7c4bc0658c9e313c9f8ccac1a28453efa418e4de104dca042c79ab320dfd4ec53b39a8d1821376f4a9ea4b05f55daaad1f7c1a
7
- data.tar.gz: bcd957ab1acc508f36d0728237f374edac3c465ccf7c104f51d5f0d4067a18a1d317c59ca2bad6a1a94c2a165f1db5f4169c6da6f4386575ee8520a4612d6e03
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
@@ -1,3 +1,3 @@
1
1
  module Vindi
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
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
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-25 00:00:00.000000000 Z
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
- rubygems_version: 3.0.1
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