Sha256: cf2ddc83ec4fa208274d6e8baf384db9b8c56705f2dd9f269f0aa7960d863ae4
Contents?: true
Size: 1.02 KB
Versions: 1
Compression:
Stored size: 1.02 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true module Twilio module REST class Serverless class V1 < Version ## # Initialize the V1 version of Serverless def initialize(domain) super @version = 'v1' @services = nil end ## # @param [String] sid The unique SID identifier of this Service. # @return [Twilio::REST::Serverless::V1::ServiceContext] if sid was passed. # @return [Twilio::REST::Serverless::V1::ServiceList] def services(sid=:unset) if sid.nil? raise ArgumentError, 'sid cannot be nil' elsif sid == :unset @services ||= ServiceList.new self else ServiceContext.new(self, sid) end end ## # Provide a user friendly representation def to_s '<Twilio::REST::Serverless::V1>' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twilio-ruby-5.22.3 | lib/twilio-ruby/rest/serverless/v1.rb |