autotask_ruby 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 947ea1a3d9bdd8c1683bfcfaa7d76459b8a2d67b94e5fd67fcf79c50ec00b80a
4
- data.tar.gz: fac09eb24150370c7806dabb3e75b1e76d0197dcf4879edfdd6d611c502c0c21
3
+ metadata.gz: a5a1bd66cf0ec0d8433df9864e1d9a005cc69c634081537e32b3c098bfc8adcc
4
+ data.tar.gz: ce4673104c216475dc72035fac4c16ef8a05157967e0923fc3917295e80d83e7
5
5
  SHA512:
6
- metadata.gz: '06489e1b4fda10d2d4e0c34f691ad9e495c6627b87914e879986b2f8725e9c292b1386ce7296f12d589a8bf443c4bb68253d6e9c87f578a53f6c9ca5e0bb9232'
7
- data.tar.gz: 9dd9f9e20306e00a4a4ce5d00be8aa4f005e042d2d1f3fb8553160344dbdaca3ae3ea233a67d600c4ac8832434fe2f3ea2e209eb029d31f58fe8c2d432b8a441
6
+ metadata.gz: 6de7cf372fd834dadbd08e80338cbe91d66e1a0f6ba6d2c2568f5dde028fc2099093742b1d8edd3e214c0cdb3d93b540c6fcabf29a8f07c0ef1b54fb9ab81b31
7
+ data.tar.gz: d83c873cf57fd7fafe67e65f23171a987ceb71373afd8cb52e9ca0a76bc12cbb32a1fb7be28a676397d7784574343c88b9cef73877a40c74ade45fbe6e2d42b4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- autotask_ruby (2.1.0)
4
+ autotask_ruby (2.1.1)
5
5
  activesupport (~> 6.0)
6
6
  savon (~> 2.12)
7
7
 
@@ -9,19 +9,15 @@ module AutotaskRuby
9
9
  attr_accessor :soap_client, :headers, :logger
10
10
 
11
11
  def initialize(options = {})
12
- @version = options[:version] || AutotaskRuby.configuration.version
13
- integration_code = options[:integration_code] || AutotaskRuby.configuration.integration_code
14
12
  @headers = {
15
13
  'tns:AutotaskIntegrations' =>
16
14
  {
17
- 'tns:IntegrationCode' => integration_code
15
+ 'tns:IntegrationCode' => options[:integration_code]
18
16
  }
19
17
  }
20
18
 
21
19
  @ssl_version = options[:ssl_version] || :TLSv1_2
22
-
23
- @host = options[:host] || 'webservices.autotask.net'
24
- @endpoint = options[:endpoint] || "https://#{@host}/ATServices/#{@version}/atws.asmx"
20
+ @endpoint = options[:endpoint] || 'https://webservices.autotask.net/ATServices/1.5/atws.asmx'
25
21
 
26
22
  # Override optional Savon attributes
27
23
  savon_options = {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AutotaskRuby
4
- VERSION = '2.1.0'
4
+ VERSION = '2.1.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autotask_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared L Jennings