qualtrics_api 0.0.13 → 0.0.14
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 -0
- data/lib/qualtrics_api/event_subscription.rb +1 -1
- data/lib/qualtrics_api/version.rb +1 -1
- data/spec/lib/event_subscription_spec.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14a8c584341554937f9191c5092906ecd8132a4e5a35c4bb9b8cfbfb28dda9e1
|
4
|
+
data.tar.gz: fcba2ec7a04c59497951c88bed64ce65655c3a9f4c799b5d0073b16d38f44c83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdc4178b2d5c9b5117deaa74c61ee7c93e250f30953fa3c62370f77cc812707b0c06894251bc13012d6451d6e4048efb835a987ddd2922261252df52bfbac26d
|
7
|
+
data.tar.gz: f3cc2c6064c1a2ed083910e7cb87237dd2ef7081d7663991f2d71bc0b1229634c3c60799d22cf57ceead3622d2a84e93d91e6043e35f8e4943e0d5827e64557b
|
data/README.md
CHANGED
@@ -23,6 +23,19 @@ Or install it yourself as:
|
|
23
23
|
|
24
24
|
$ gem install qualtrics_api
|
25
25
|
|
26
|
+
## Dependencies
|
27
|
+
|
28
|
+
Currently this gem is built & tested with Ruby 2.3.x.
|
29
|
+
Confirmed working with Ruby 2.4.x.
|
30
|
+
|
31
|
+
Requires Ruby >= 2.3
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
"faraday", "~> 0.13.1"
|
35
|
+
"faraday_middleware", "~> 0.12.2"
|
36
|
+
"virtus", "~> 1.0"
|
37
|
+
```
|
38
|
+
|
26
39
|
## Usage
|
27
40
|
|
28
41
|
### Initialize
|
@@ -43,7 +43,8 @@ describe QualtricsAPI::EventSubscription do
|
|
43
43
|
VCR.use_cassette("event_subscription_delete") do
|
44
44
|
sub_id = 'SUB_2i7QDi3PXEK4eqx'
|
45
45
|
subscription = QualtricsAPI.event_subscriptions.find(sub_id)
|
46
|
-
subscription.delete
|
46
|
+
result = subscription.delete
|
47
|
+
expect(result).to be_truthy
|
47
48
|
expect {
|
48
49
|
QualtricsAPI.event_subscriptions.find(sub_id)
|
49
50
|
}.to raise_error(QualtricsAPI::NotFoundError)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qualtrics_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yurui Zhang
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-12-
|
13
|
+
date: 2017-12-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|