sendly 3.12.0 → 3.12.2

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: 857bab925f91bce21378c883fd8e361abe57b790601509a2adceb83728710edd
4
- data.tar.gz: 591b4c74dc12919752ae157d25cdb8bae760545db8905d75d18073a4b06eba74
3
+ metadata.gz: b73045c5387bdcaeca721bd15b14da042aa7d6cc839498934bc3fbd74b368217
4
+ data.tar.gz: e0a5caf882386a3491fe6ff821cccf309388b2d68f54f3cac84deead863f0cf5
5
5
  SHA512:
6
- metadata.gz: af04849ac6912ebeead0dfe399f0415b47994c92ab269c70cd94ecd8da48a0c4289ef5031180c6e45dd3518dd5d9d6017bd92127c7dd60951abcd41570598ad2
7
- data.tar.gz: e040fd53133f80179688c64f46cf23de752fbb63b60ce666aab4e791413bd4ccd137eeb3d214b4ed2440b122ce989cc70ffec8dc80bd3aa6a431c2f18f0b9753
6
+ metadata.gz: 728cec61f9ae81b586b6d4f19beb8f5b6d47ff54ec5abe4c684d9b8254b6399fad9560bc1d0dafe941f8e19f7ce345a885f56e231fc5f816c6d30a5ad63ffc7d
7
+ data.tar.gz: bbc717292cca1584d2a3eae88129979f974902f5919f6b38946d4f73087d04089ec6db9c3239840bd0106bb478ffcda342adcc4c7a2850997981f17dffcd4851
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sendly (3.12.0)
4
+ sendly (3.12.2)
5
5
  faraday (~> 2.0)
6
6
  faraday-retry (~> 2.0)
7
7
 
data/lib/sendly/verify.rb CHANGED
@@ -165,7 +165,7 @@ module Sendly
165
165
 
166
166
  def send(phone:, channel: nil, code_length: nil, expires_in: nil, max_attempts: nil,
167
167
  template_id: nil, profile_id: nil, app_name: nil, locale: nil, metadata: nil)
168
- body = { phone: phone }
168
+ body = { to: phone }
169
169
  body[:channel] = channel if channel
170
170
  body[:codeLength] = code_length if code_length
171
171
  body[:expiresIn] = expires_in if expires_in
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sendly
4
- VERSION = "3.12.0"
4
+ VERSION = "3.12.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendly
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.0
4
+ version: 3.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sendly
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-01-09 00:00:00.000000000 Z
11
+ date: 2026-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday