connectwise-ruby-sdk 2.0.1 → 2.0.2

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: f57cb261ac2c3b35b167171967f069ac807915d26a89b394722cc92cc2722e1f
4
- data.tar.gz: 971430961464df8d01a2316bd585c176bdc10737c92c60dfacbc64816e62bd8d
2
+ SHA1:
3
+ metadata.gz: e3c294f77f9769531343671d0d66f99db79bdb1d
4
+ data.tar.gz: 7c76b8beb57d49d0a0a164b9e9b2043ec4ed328c
5
5
  SHA512:
6
- metadata.gz: eb1f5bf2ec8b239b7e81decb6e65a3001de588aa15b9142b22100564e3090ad91198cae2e6785c2d471444484e1810cb4e19302826735bacc00aedce213fa9bd
7
- data.tar.gz: 4f5f749ee8c8421fbc7be9847a19c92b8654b22529cb8a4d6d3136fa1cd30c9d4541f6b67d500b10851b66c6d282f760b7aa9cfe78965b8734a8fa0ed4d4235d
6
+ metadata.gz: 9cf7d24dcd6e22021880c258281385139d0a5818a3c40652b0ce789e35ae27a84cdce81b7f774565b98f35b3c26e2b871ebfb97e4792230c6c1472e559bde1c4
7
+ data.tar.gz: 1aa5e08b09b91b938a71e5a6160b6ba5203df3311031db5d2465d9e8a540f4003478807f3cfd011d17071c8bcf7615e779442c7515262ea4691e91d7dc892539
data/README.md CHANGED
@@ -5,7 +5,7 @@ ConnectWise - the Ruby gem for the ConnectWise API
5
5
  ConnectWise API
6
6
 
7
7
  - API version: 3.0.0
8
- - Package version: 2.0.1
8
+ - Package version: 2.0.2
9
9
 
10
10
  ## Installation
11
11
 
@@ -57,6 +57,7 @@ ConnectWise.configure do |config|
57
57
  config.host = 'api-na.myconnectwise.net' # your connectwise url
58
58
  config.base_path = '/v4_6_release/apis/3.0' # Or alternative code base release
59
59
  config.scheme = 'https'
60
+ config.client_id = 'XXXX'
60
61
  end
61
62
 
62
63
  api_instance = ConnectWise::AccountingBatchesApi.new
@@ -2523,4 +2524,3 @@ Class | Method | HTTP request | Description
2523
2524
  ### BasicAuth
2524
2525
 
2525
2526
  - **Type**: HTTP basic authentication
2526
-
@@ -23,7 +23,8 @@ module ConnectWise
23
23
  @user_agent = "Swagger-Codegen/#{VERSION}/ruby"
24
24
  @default_headers = {
25
25
  'Content-Type' => "application/json",
26
- 'User-Agent' => @user_agent
26
+ 'User-Agent' => @user_agent,
27
+ 'clientId' => @config.client_id
27
28
  }
28
29
  end
29
30
 
@@ -20,6 +20,12 @@ module ConnectWise
20
20
  # config.api_key['api_key'] = 'xxx'
21
21
  attr_accessor :api_key
22
22
 
23
+ # Defines the clientId header to send with requests
24
+ #
25
+ # @return [String]
26
+ attr_accessor :client_id
27
+
28
+
23
29
  # Defines API key prefixes used with API Key authentications.
24
30
  #
25
31
  # @return [Hash] key: parameter name, value: API key prefix
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ConnectWise
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: connectwise-ruby-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Sowder
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-01 00:00:00.000000000 Z
11
+ date: 2019-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2724,7 +2724,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2724
2724
  version: '0'
2725
2725
  requirements: []
2726
2726
  rubyforge_project:
2727
- rubygems_version: 2.7.3
2727
+ rubygems_version: 2.5.2.3
2728
2728
  signing_key:
2729
2729
  specification_version: 4
2730
2730
  summary: ConnectWise Ruby Gem