telnyx 5.130.0 → 5.130.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: edd5e900dcfd85824a24019b495996abb5010aa4d0026ca63dcb15d86c7389dd
4
- data.tar.gz: 8617e123a5bc3953ab8eec95b6804cd5c1841463f2e35172913dac3e0299cafc
3
+ metadata.gz: 51550c13df6bdb2bc94a0a5d9b1d548ff7e0480a36761d149b65a2b6c894d3a3
4
+ data.tar.gz: 881fc05caa8799307d877d2272c043d8357ca836ea524ab440c4ecec79256011
5
5
  SHA512:
6
- metadata.gz: df3c725bf99a553a515117436bea685af65a4ef8cdd18f564510a3a7ba9fae608f94ee8a75677f6f311fd9829db48939285f2a48adecab90f5589a39483faa8b
7
- data.tar.gz: a8c2e2f2039ba504c0afbe11ad28c05f23db139ddb18242d673f93f844f9c1142da1b361e6b19dbe2a1ce417fe296fd449dc92a4b27ecd69bc25ab669317126e
6
+ metadata.gz: a267cea1e1c57b75159564b3b943fe34a868928797f5c0fa15587a35096ed0efab3d47a0ea560afba2dd33f106c5771ebd51e1fb6eb551b9a9a1a6eb82fb8b65
7
+ data.tar.gz: 96873bab4775fa0b8f50fe791c22608f23dbe7814c62a18e64ba013a6f6eeb7d0fb443d0360bdb4a609f9f64759c9b83ec4e9606406cdc184ebec362ed9ca174
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.130.1 (2026-06-16)
4
+
5
+ Full Changelog: [v5.130.0...v5.130.1](https://github.com/team-telnyx/telnyx-ruby/compare/v5.130.0...v5.130.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **client:** send content-type header for requests with an omitted optional body ([b4e3271](https://github.com/team-telnyx/telnyx-ruby/commit/b4e327110e5529b70e53a7437223eee156597f78))
10
+
3
11
  ## 5.130.0 (2026-06-16)
4
12
 
5
13
  Full Changelog: [v5.129.0...v5.130.0](https://github.com/team-telnyx/telnyx-ruby/compare/v5.129.0...v5.130.0)
data/README.md CHANGED
@@ -24,7 +24,7 @@ To use this gem, install via Bundler by adding the following to your application
24
24
  <!-- x-release-please-start-version -->
25
25
 
26
26
  ```ruby
27
- gem "telnyx", "~> 5.130.0"
27
+ gem "telnyx", "~> 5.130.1"
28
28
  ```
29
29
 
30
30
  <!-- x-release-please-end -->
@@ -306,7 +306,10 @@ module Telnyx
306
306
  Telnyx::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
307
307
  end
308
308
 
309
- headers.delete("content-type") if body.nil?
309
+ # Generated methods always pass `req[:body]` for operations that define a
310
+ # request body, so only elide the content-type header when the operation
311
+ # has no body at all, not when an optional body param was omitted.
312
+ headers.delete("content-type") if body.nil? && !req.key?(:body)
310
313
 
311
314
  url = Telnyx::Internal::Util.join_parsed_uri(
312
315
  @base_url_components,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Telnyx
4
- VERSION = "5.130.0"
4
+ VERSION = "5.130.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telnyx
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.130.0
4
+ version: 5.130.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Telnyx