connect_wise_rest 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.travis.yml +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/connect_wise_rest.gemspec +0 -0
- data/lib/connect_wise_rest/client.rb +12 -1
- data/lib/connect_wise_rest/configuration.rb +3 -4
- data/lib/connect_wise_rest/error.rb +0 -0
- data/lib/connect_wise_rest/report.rb +0 -0
- data/lib/connect_wise_rest/version.rb +1 -1
- data/lib/connect_wise_rest.rb +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73ba93e840b0c45d63484b3d29af22b4af10d6c31aa6cfbc5c09626eec11726b
|
4
|
+
data.tar.gz: 8de52b94e67c5569043ebcb44bd8405d95d3e4eede3e48b6ea64b13b4dfcaed2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 338f3856698927f396565c95f445b0831421bd155fa1cc108fc97a9a46a497911d53a15793190023520c00319b7d81eba0fadf52c98c6fada1ea189461ac2888
|
7
|
+
data.tar.gz: 0c36dbb02266b50d53fd7173e2a346d618a33b45ac849788fe76fa6fab48036435cf3a0882f5f4d243ae951014cb3f76960764d5d7c5f6b00db96a11cf04a3ff
|
data/.gitignore
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/connect_wise_rest.gemspec
CHANGED
File without changes
|
@@ -47,7 +47,18 @@ module ConnectWiseRest
|
|
47
47
|
}
|
48
48
|
}
|
49
49
|
|
50
|
-
|
50
|
+
if options[:proxy_host]
|
51
|
+
request_options.merge!(
|
52
|
+
http_proxyaddr: options[:proxy_host],
|
53
|
+
http_proxyport: options[:proxy_port],
|
54
|
+
http_proxyuser: options[:proxy_user],
|
55
|
+
http_proxypass: options[:proxy_password],
|
56
|
+
)
|
57
|
+
end
|
58
|
+
|
59
|
+
if options[:debug] && options[:logger]
|
60
|
+
request_options[:debug_output] = options[:logger]
|
61
|
+
end
|
51
62
|
|
52
63
|
request_options
|
53
64
|
end
|
@@ -13,7 +13,8 @@ module ConnectWiseRest
|
|
13
13
|
end
|
14
14
|
|
15
15
|
class Configuration
|
16
|
-
attr_accessor :company_id, :private_key, :public_key, :url_prefix, :version, :debug, :logger
|
16
|
+
attr_accessor :company_id, :private_key, :public_key, :url_prefix, :version, :debug, :logger,
|
17
|
+
:proxy_host, :proxy_port, :proxy_user, :proxy_password
|
17
18
|
|
18
19
|
def initialize
|
19
20
|
@version = '3.0'
|
@@ -30,7 +31,5 @@ module ConnectWiseRest
|
|
30
31
|
instance_variables.each { |var| hash[var.to_s.delete('@').to_sym] = instance_variable_get(var) }
|
31
32
|
hash
|
32
33
|
end
|
33
|
-
|
34
34
|
end
|
35
|
-
|
36
|
-
end
|
35
|
+
end
|
File without changes
|
File without changes
|
data/lib/connect_wise_rest.rb
CHANGED
File without changes
|
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.7.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: 2019-
|
11
|
+
date: 2019-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.7.
|
97
|
+
rubygems_version: 2.7.8
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: REST client wrapper for Connect Wise.
|