hubspot-api-client 13.2.0 → 14.1.0

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.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/Gemfile.lock +2 -2
  4. data/hubspot-api-client.gemspec +1 -1
  5. data/lib/hubspot/codegen/automation/actions/api_error.rb +1 -1
  6. data/lib/hubspot/codegen/cms/audit-logs/api_error.rb +1 -1
  7. data/lib/hubspot/codegen/cms/blogs/authors/api_error.rb +1 -1
  8. data/lib/hubspot/codegen/cms/blogs/blog-posts/api_error.rb +1 -1
  9. data/lib/hubspot/codegen/cms/blogs/tags/api_error.rb +1 -1
  10. data/lib/hubspot/codegen/cms/domains/api_error.rb +1 -1
  11. data/lib/hubspot/codegen/cms/hubdb/api_error.rb +1 -1
  12. data/lib/hubspot/codegen/cms/performance/api_error.rb +1 -1
  13. data/lib/hubspot/codegen/cms/site-search/api_error.rb +1 -1
  14. data/lib/hubspot/codegen/cms/source-code/api_error.rb +1 -1
  15. data/lib/hubspot/codegen/cms/url-redirects/api_error.rb +1 -1
  16. data/lib/hubspot/codegen/communication_preferences/api_error.rb +1 -1
  17. data/lib/hubspot/codegen/conversations/visitor-identification/api_error.rb +1 -1
  18. data/lib/hubspot/codegen/crm/associations/api_error.rb +1 -1
  19. data/lib/hubspot/codegen/crm/companies/api_error.rb +1 -1
  20. data/lib/hubspot/codegen/crm/contacts/api_error.rb +1 -1
  21. data/lib/hubspot/codegen/crm/deals/api_error.rb +1 -1
  22. data/lib/hubspot/codegen/crm/extensions/accounting/api_error.rb +1 -1
  23. data/lib/hubspot/codegen/crm/extensions/calling/api_error.rb +1 -1
  24. data/lib/hubspot/codegen/crm/extensions/cards/api_error.rb +1 -1
  25. data/lib/hubspot/codegen/crm/extensions/videoconferencing/api_error.rb +1 -1
  26. data/lib/hubspot/codegen/crm/imports/api_error.rb +1 -1
  27. data/lib/hubspot/codegen/crm/line_items/api_error.rb +1 -1
  28. data/lib/hubspot/codegen/crm/objects/api_error.rb +1 -1
  29. data/lib/hubspot/codegen/crm/objects/calls/api_error.rb +1 -1
  30. data/lib/hubspot/codegen/crm/objects/emails/api_error.rb +1 -1
  31. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/associations_api.rb +3 -3
  32. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/basic_api.rb +5 -5
  33. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/batch_api.rb +4 -4
  34. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/public_object_api.rb +1 -1
  35. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api/search_api.rb +1 -1
  36. data/lib/hubspot/codegen/crm/objects/feedback_submissions/api_error.rb +1 -1
  37. data/lib/hubspot/codegen/crm/objects/feedback_submissions/configuration.rb +7 -0
  38. data/lib/hubspot/codegen/crm/objects/meetings/api_error.rb +1 -1
  39. data/lib/hubspot/codegen/crm/objects/notes/api_error.rb +1 -1
  40. data/lib/hubspot/codegen/crm/objects/tasks/api_error.rb +1 -1
  41. data/lib/hubspot/codegen/crm/owners/api_error.rb +1 -1
  42. data/lib/hubspot/codegen/crm/pipelines/api_error.rb +1 -1
  43. data/lib/hubspot/codegen/crm/products/api_error.rb +1 -1
  44. data/lib/hubspot/codegen/crm/properties/api_error.rb +1 -1
  45. data/lib/hubspot/codegen/crm/quotes/api_error.rb +1 -1
  46. data/lib/hubspot/codegen/crm/schemas/api_error.rb +1 -1
  47. data/lib/hubspot/codegen/crm/tickets/api_error.rb +1 -1
  48. data/lib/hubspot/codegen/crm/timeline/api_error.rb +1 -1
  49. data/lib/hubspot/codegen/events/api_error.rb +1 -1
  50. data/lib/hubspot/codegen/files/files/api_error.rb +1 -1
  51. data/lib/hubspot/codegen/marketing/events/api_error.rb +1 -1
  52. data/lib/hubspot/codegen/marketing/forms/api_error.rb +1 -1
  53. data/lib/hubspot/codegen/marketing/transactional/api_error.rb +1 -1
  54. data/lib/hubspot/codegen/oauth/api_error.rb +1 -1
  55. data/lib/hubspot/codegen/settings/users/api_error.rb +1 -1
  56. data/lib/hubspot/codegen/webhooks/api_error.rb +1 -1
  57. data/lib/hubspot/version.rb +1 -1
  58. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6045ffdbd9ec6b918ab4b735cace9ff664691e2468a69b6048ac4548438a51e
4
- data.tar.gz: bc6c1b9bcbbee069f3a01b86076e7b1db4886ada342029662f4065c2ddc6a0c6
3
+ metadata.gz: 258c55c06d2bb92967ba618919065c527f886d5066f771fae9cd40bde1f7999e
4
+ data.tar.gz: deb1a80f49da296b0ea65e5bbdd8736f8568167808974db91dbfbbb4b62f8e5e
5
5
  SHA512:
6
- metadata.gz: 4f8bf03c5505ba9e5ee0c2bafc2c1d8ed0f761443cb02fc16a0394e3a837428bf3ebb6cd4df45a10c44f068e681e1e1b8bf902ed13d3b717719aa7114531b2bc
7
- data.tar.gz: e0ba0e2c0eaf67bdda14d78635563168f2514d77477ff99262b19e64b090c10fab4e61d4f55508bdaac06c885783b1ada8062e14cc7196008106c5d08abc764d
6
+ metadata.gz: 1551a766599640bfef6efc93bb4709c9c0af1d96949787e539b02c130aa744cf4c03d09600668faccc6da656faa324eb5422f5deb71dc5d97f71a5de143cfab6
7
+ data.tar.gz: c111b2335a6e5b938d3ca0844f4185d2c1637c9b36856ee49e42bb2d6131521e758ecaf2ffac6e91232f692cb540e21a86579f4c57fbc5d161d4623ee5621238
data/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [14.1.0] - 2022-08-23
9
+ ### Changed
10
+
11
+ - using default ruby StandardError
12
+
13
+ ## [14.0.0] - 2022-08-11
14
+ ### Changed
15
+
16
+ - required ruby version was increased to 2.7
17
+
8
18
  ## [13.2.0] - 2022-08-09
9
19
  ### Changed
10
20
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hubspot-api-client (13.2.0)
4
+ hubspot-api-client (14.1.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  require_all (~> 3.0.0)
7
7
  typhoeus (~> 1.4.0)
@@ -51,7 +51,7 @@ GEM
51
51
  typhoeus (1.4.0)
52
52
  ethon (>= 0.9.0)
53
53
  vcr (3.0.3)
54
- webmock (3.17.0)
54
+ webmock (3.17.1)
55
55
  addressable (>= 2.8.0)
56
56
  crack (>= 0.3.2)
57
57
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.summary = "HubSpot Ruby API Gem"
12
12
  s.description = "HubSpot Ruby API client"
13
13
  s.license = "Apache-2.0"
14
- s.required_ruby_version = ">= 1.9"
14
+ s.required_ruby_version = ">= 2.7"
15
15
 
16
16
  s.add_runtime_dependency 'typhoeus', '~> 1.4.0'
17
17
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Automation
15
15
  module Actions
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Cms
15
15
  module AuditLogs
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Cms
15
15
  module Blogs
16
16
  module Authors
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Cms
15
15
  module Blogs
16
16
  module BlogPosts
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Cms
15
15
  module Blogs
16
16
  module Tags
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Cms
15
15
  module Domains
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Cms
15
15
  module Hubdb
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Cms
15
15
  module Performance
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Cms
15
15
  module SiteSearch
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Cms
15
15
  module SourceCode
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Cms
15
15
  module UrlRedirects
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -12,7 +12,7 @@ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  module Hubspot
14
14
  module CommunicationPreferences
15
- class ApiError < StandardError
15
+ class ApiError < ::StandardError
16
16
  attr_reader :code, :response_headers, :response_body
17
17
 
18
18
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Conversations
15
15
  module VisitorIdentification
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Associations
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Companies
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Contacts
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Deals
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Extensions
16
16
  module Accounting
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Extensions
16
16
  module Calling
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Extensions
16
16
  module Cards
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Extensions
16
16
  module Videoconferencing
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Imports
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module LineItems
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Objects
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Objects
16
16
  module Calls
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Objects
16
16
  module Emails
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -82,7 +82,7 @@ module Hubspot
82
82
  return_type = opts[:return_type]
83
83
 
84
84
  # auth_names
85
- auth_names = opts[:auth_names] || ['hapikey']
85
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
86
86
 
87
87
  new_options = opts.merge(
88
88
  :header_params => header_params,
@@ -160,7 +160,7 @@ module Hubspot
160
160
  return_type = opts[:return_type] || 'SimplePublicObjectWithAssociations'
161
161
 
162
162
  # auth_names
163
- auth_names = opts[:auth_names] || ['hapikey']
163
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
164
164
 
165
165
  new_options = opts.merge(
166
166
  :header_params => header_params,
@@ -232,7 +232,7 @@ module Hubspot
232
232
  return_type = opts[:return_type] || 'CollectionResponseAssociatedIdForwardPaging'
233
233
 
234
234
  # auth_names
235
- auth_names = opts[:auth_names] || ['hapikey']
235
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
236
236
 
237
237
  new_options = opts.merge(
238
238
  :header_params => header_params,
@@ -68,7 +68,7 @@ module Hubspot
68
68
  return_type = opts[:return_type]
69
69
 
70
70
  # auth_names
71
- auth_names = opts[:auth_names] || ['hapikey']
71
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
72
72
 
73
73
  new_options = opts.merge(
74
74
  :header_params => header_params,
@@ -132,7 +132,7 @@ module Hubspot
132
132
  return_type = opts[:return_type] || 'SimplePublicObject'
133
133
 
134
134
  # auth_names
135
- auth_names = opts[:auth_names] || ['hapikey']
135
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
136
136
 
137
137
  new_options = opts.merge(
138
138
  :header_params => header_params,
@@ -209,7 +209,7 @@ module Hubspot
209
209
  return_type = opts[:return_type] || 'SimplePublicObjectWithAssociations'
210
210
 
211
211
  # auth_names
212
- auth_names = opts[:auth_names] || ['hapikey']
212
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
213
213
 
214
214
  new_options = opts.merge(
215
215
  :header_params => header_params,
@@ -283,7 +283,7 @@ module Hubspot
283
283
  return_type = opts[:return_type] || 'CollectionResponseSimplePublicObjectWithAssociationsForwardPaging'
284
284
 
285
285
  # auth_names
286
- auth_names = opts[:auth_names] || ['hapikey']
286
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
287
287
 
288
288
  new_options = opts.merge(
289
289
  :header_params => header_params,
@@ -356,7 +356,7 @@ module Hubspot
356
356
  return_type = opts[:return_type] || 'SimplePublicObject'
357
357
 
358
358
  # auth_names
359
- auth_names = opts[:auth_names] || ['hapikey']
359
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
360
360
 
361
361
  new_options = opts.merge(
362
362
  :header_params => header_params,
@@ -66,7 +66,7 @@ module Hubspot
66
66
  return_type = opts[:return_type]
67
67
 
68
68
  # auth_names
69
- auth_names = opts[:auth_names] || ['hapikey']
69
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
70
70
 
71
71
  new_options = opts.merge(
72
72
  :header_params => header_params,
@@ -128,7 +128,7 @@ module Hubspot
128
128
  return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
129
129
 
130
130
  # auth_names
131
- auth_names = opts[:auth_names] || ['hapikey']
131
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
132
132
 
133
133
  new_options = opts.merge(
134
134
  :header_params => header_params,
@@ -193,7 +193,7 @@ module Hubspot
193
193
  return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
194
194
 
195
195
  # auth_names
196
- auth_names = opts[:auth_names] || ['hapikey']
196
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
197
197
 
198
198
  new_options = opts.merge(
199
199
  :header_params => header_params,
@@ -255,7 +255,7 @@ module Hubspot
255
255
  return_type = opts[:return_type] || 'BatchResponseSimplePublicObject'
256
256
 
257
257
  # auth_names
258
- auth_names = opts[:auth_names] || ['hapikey']
258
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
259
259
 
260
260
  new_options = opts.merge(
261
261
  :header_params => header_params,
@@ -66,7 +66,7 @@ module Hubspot
66
66
  return_type = opts[:return_type] || 'SimplePublicObject'
67
67
 
68
68
  # auth_names
69
- auth_names = opts[:auth_names] || ['hapikey']
69
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
70
70
 
71
71
  new_options = opts.merge(
72
72
  :header_params => header_params,
@@ -64,7 +64,7 @@ module Hubspot
64
64
  return_type = opts[:return_type] || 'CollectionResponseWithTotalSimplePublicObjectForwardPaging'
65
65
 
66
66
  # auth_names
67
- auth_names = opts[:auth_names] || ['hapikey']
67
+ auth_names = opts[:auth_names] || ['hapikey', 'oauth2']
68
68
 
69
69
  new_options = opts.merge(
70
70
  :header_params => header_params,
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Objects
16
16
  module FeedbackSubmissions
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -207,6 +207,13 @@ module Hubspot
207
207
  key: 'hapikey',
208
208
  value: api_key_with_prefix('hapikey')
209
209
  },
210
+ 'oauth2' =>
211
+ {
212
+ type: 'oauth2',
213
+ in: 'header',
214
+ key: 'Authorization',
215
+ value: "Bearer #{access_token}"
216
+ },
210
217
  }
211
218
  end
212
219
 
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Objects
16
16
  module Meetings
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Objects
16
16
  module Notes
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -14,7 +14,7 @@ module Hubspot
14
14
  module Crm
15
15
  module Objects
16
16
  module Tasks
17
- class ApiError < StandardError
17
+ class ApiError < ::StandardError
18
18
  attr_reader :code, :response_headers, :response_body
19
19
 
20
20
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Owners
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Pipelines
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Products
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Properties
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Quotes
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Schemas
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Tickets
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Crm
15
15
  module Timeline
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -12,7 +12,7 @@ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  module Hubspot
14
14
  module Events
15
- class ApiError < StandardError
15
+ class ApiError < ::StandardError
16
16
  attr_reader :code, :response_headers, :response_body
17
17
 
18
18
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Files
15
15
  module Files
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Marketing
15
15
  module Events
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Marketing
15
15
  module Forms
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Marketing
15
15
  module Transactional
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -12,7 +12,7 @@ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  module Hubspot
14
14
  module OAuth
15
- class ApiError < StandardError
15
+ class ApiError < ::StandardError
16
16
  attr_reader :code, :response_headers, :response_body
17
17
 
18
18
  # Usage examples:
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  module Hubspot
14
14
  module Settings
15
15
  module Users
16
- class ApiError < StandardError
16
+ class ApiError < ::StandardError
17
17
  attr_reader :code, :response_headers, :response_body
18
18
 
19
19
  # Usage examples:
@@ -12,7 +12,7 @@ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  module Hubspot
14
14
  module Webhooks
15
- class ApiError < StandardError
15
+ class ApiError < ::StandardError
16
16
  attr_reader :code, :response_headers, :response_body
17
17
 
18
18
  # Usage examples:
@@ -1,3 +1,3 @@
1
1
  module Hubspot
2
- VERSION = '13.2.0'
2
+ VERSION = '14.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hubspot-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.2.0
4
+ version: 14.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - HubSpot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-09 00:00:00.000000000 Z
11
+ date: 2022-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -2843,7 +2843,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
2843
2843
  requirements:
2844
2844
  - - ">="
2845
2845
  - !ruby/object:Gem::Version
2846
- version: '1.9'
2846
+ version: '2.7'
2847
2847
  required_rubygems_version: !ruby/object:Gem::Requirement
2848
2848
  requirements:
2849
2849
  - - ">="