Skip to content

Commit

Permalink
[Librarian] Regenerated @ 3e6ad1f24c7f9fc3d3bf3465cc2bdd014b1f6311
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Jan 14, 2024
1 parent 928f02a commit 1a0034f
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 61 deletions.
12 changes: 12 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
twilio-ruby changelog
=====================

[2024-01-14] Version 6.9.1
--------------------------
**Library - Chore**
- [PR #691](https://github.com/twilio/twilio-ruby/pull/691): Removing tests related to Autopilot and Understand Endpoints - product EoL. Thanks to [@miriamela](https://github.com/miriamela)!

**Library - Fix**
- [PR #693](https://github.com/twilio/twilio-ruby/pull/693): fixed query param not going for delete. Thanks to [@manisha1997](https://github.com/manisha1997)!

**Push**
- Migrated to new Push API V4 with Resilient Notification Delivery.


[2023-12-14] Version 6.9.0
--------------------------
**Api**
Expand Down
15 changes: 8 additions & 7 deletions lib/twilio-ruby/rest/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def flex_api
def frontline_api
@frontline_api ||= FrontlineApi.new self
end
##
# Access the Insights Twilio Domain
def insights
@insights ||= Insights.new self
Expand Down Expand Up @@ -218,7 +219,7 @@ def authorized_connect_apps(connectAppSid=:unset)
def available_phone_numbers(countryCode=:unset)
self.api.v2010.account.available_phone_numbers(countryCode)
end

##
# @param [string] sid The SID of the Call resource to fetch.

Expand Down Expand Up @@ -267,8 +268,8 @@ def keys(sid=:unset)
def messages(sid=:unset)
self.api.v2010.account.messages(sid)
end


##
# @param [string] sid The Twilio-provided string that uniquely identifies the Notification resource to fetch.

Expand Down Expand Up @@ -316,8 +317,8 @@ def short_codes(sid=:unset)
def signing_keys(sid=:unset)
self.api.v2010.account.signing_keys(sid)
end


##
# @param [string] sid The Twilio-provided string that uniquely identifies the Transcription resource to fetch.

Expand All @@ -326,8 +327,8 @@ def signing_keys(sid=:unset)
def transcriptions(sid=:unset)
self.api.v2010.account.transcriptions(sid)
end



##
# Provide a user friendly representation
Expand Down
54 changes: 27 additions & 27 deletions lib/twilio-ruby/rest/preview/deployed_devices/fleet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ def initialize(version, sid)
@uri = "/Fleets/#{@solution[:sid]}"

# Dependents
@certificates = nil
@devices = nil
@keys = nil
@deployments = nil
@certificates = nil
end
##
# Delete the FleetInstance
Expand Down Expand Up @@ -207,6 +207,25 @@ def update(
)
end

##
# Access the certificates
# @return [CertificateList]
# @return [CertificateContext] if sid was passed.
def certificates(sid=:unset)

raise ArgumentError, 'sid cannot be nil' if sid.nil?

if sid != :unset
return CertificateContext.new(@version, @solution[:sid],sid )
end

unless @certificates
@certificates = CertificateList.new(
@version, fleet_sid: @solution[:sid], )
end

@certificates
end
##
# Access the devices
# @return [DeviceList]
Expand Down Expand Up @@ -264,25 +283,6 @@ def deployments(sid=:unset)

@deployments
end
##
# Access the certificates
# @return [CertificateList]
# @return [CertificateContext] if sid was passed.
def certificates(sid=:unset)

raise ArgumentError, 'sid cannot be nil' if sid.nil?

if sid != :unset
return CertificateContext.new(@version, @solution[:sid],sid )
end

unless @certificates
@certificates = CertificateList.new(
@version, fleet_sid: @solution[:sid], )
end

@certificates
end

##
# Provide a user friendly representation
Expand Down Expand Up @@ -455,6 +455,13 @@ def update(
)
end

##
# Access the certificates
# @return [certificates] certificates
def certificates
context.certificates
end

##
# Access the devices
# @return [devices] devices
Expand All @@ -476,13 +483,6 @@ def deployments
context.deployments
end

##
# Access the certificates
# @return [certificates] certificates
def certificates
context.certificates
end

##
# Provide a user friendly representation
def to_s
Expand Down
54 changes: 27 additions & 27 deletions lib/twilio-ruby/rest/preview/sync/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ def initialize(version, sid)
@uri = "/Services/#{@solution[:sid]}"

# Dependents
@sync_lists = nil
@sync_maps = nil
@documents = nil
@sync_lists = nil
end
##
# Delete the ServiceInstance
Expand Down Expand Up @@ -221,25 +221,6 @@ def update(
)
end

##
# Access the sync_lists
# @return [SyncListList]
# @return [SyncListContext] if sid was passed.
def sync_lists(sid=:unset)

raise ArgumentError, 'sid cannot be nil' if sid.nil?

if sid != :unset
return SyncListContext.new(@version, @solution[:sid],sid )
end

unless @sync_lists
@sync_lists = SyncListList.new(
@version, service_sid: @solution[:sid], )
end

@sync_lists
end
##
# Access the sync_maps
# @return [SyncMapList]
Expand Down Expand Up @@ -278,6 +259,25 @@ def documents(sid=:unset)

@documents
end
##
# Access the sync_lists
# @return [SyncListList]
# @return [SyncListContext] if sid was passed.
def sync_lists(sid=:unset)

raise ArgumentError, 'sid cannot be nil' if sid.nil?

if sid != :unset
return SyncListContext.new(@version, @solution[:sid],sid )
end

unless @sync_lists
@sync_lists = SyncListList.new(
@version, service_sid: @solution[:sid], )
end

@sync_lists
end

##
# Provide a user friendly representation
Expand Down Expand Up @@ -463,13 +463,6 @@ def update(
)
end

##
# Access the sync_lists
# @return [sync_lists] sync_lists
def sync_lists
context.sync_lists
end

##
# Access the sync_maps
# @return [sync_maps] sync_maps
Expand All @@ -484,6 +477,13 @@ def documents
context.documents
end

##
# Access the sync_lists
# @return [sync_lists] sync_lists
def sync_lists
context.sync_lists
end

##
# Provide a user friendly representation
def to_s
Expand Down

0 comments on commit 1a0034f

Please sign in to comment.