connect_wise_rest 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/connect_wise_rest/client.rb +1 -3
- data/lib/connect_wise_rest/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: 1b62fcdc5634c4805b7aa509a82afe462ed63776
|
4
|
+
data.tar.gz: 3dfe755ab510429f9ea77598208ab3899091b860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b80c333044bd6c53532ddb8c08355d125c29d05ac4c607a42ccfd0602c22b9ad52aafe3320c08d18d34e487f2cbe36629f372b85fafed6f1780a8dac670a4ec9
|
7
|
+
data.tar.gz: ccd95c72174593bfffec8c41b43a07ad32a00dfb6e8d907905edb27a3fdf5e1e76c8b84e8eccd194337bad6a42911ad8e8800de5884dc2d5767f5c9d76181d34
|
@@ -22,11 +22,9 @@ module ConnectWiseRest
|
|
22
22
|
|
23
23
|
def fetch(query = {})
|
24
24
|
self.options[:query].merge!(query)
|
25
|
-
|
26
25
|
@response = nil
|
27
|
-
response
|
28
26
|
|
29
|
-
|
27
|
+
unless response.success?
|
30
28
|
raise "#{response.parsed_response['code']}: #{response.parsed_response['message']}"
|
31
29
|
end
|
32
30
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: connect_wise_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Pheasey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|