Sha256: d71e148b5251e14f46592687514131a75628eded1d33aa3af481d149aec2bcc1
Contents?: true
Size: 1.67 KB
Versions: 51
Compression:
Stored size: 1.67 KB
Contents
## # This code was generated by # ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ # | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ # | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ # # Twilio - Serverless # This is the public Twilio REST API. # # NOTE: This class is auto generated by OpenAPI Generator. # https://openapi-generator.tech # Do not edit the class manually. # 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 `sid` or `unique_name` of the Service resource to fetch. # @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' end if 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
51 entries across 51 versions & 2 rubygems