Method: Twilio::REST::Proxy::V1::ServiceInstance#default_ttl

Defined in:
lib/twilio-ruby/rest/proxy/v1/service.rb

#default_ttlString

Returns The default ‘ttl` value for Sessions created in the Service. The TTL (time to live) is measured in seconds after the Session’s last create or last Interaction. The default value of ‘0` indicates an unlimited Session length. You can override a Session’s default TTL value by setting its ‘ttl` value.

Returns:

  • (String)

    The default ‘ttl` value for Sessions created in the Service. The TTL (time to live) is measured in seconds after the Session’s last create or last Interaction. The default value of ‘0` indicates an unlimited Session length. You can override a Session’s default TTL value by setting its ‘ttl` value.



432
433
434
# File 'lib/twilio-ruby/rest/proxy/v1/service.rb', line 432

def default_ttl
    @properties['default_ttl']
end