Sha256: 3581b647e499642bb7c43bf53483ebd2bc730df2b15d0bd0de705df0e9b000ee
Contents?: true
Size: 1.77 KB
Versions: 31
Compression:
Stored size: 1.77 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true module Twilio module REST class FlexApi < Domain ## # Initialize the FlexApi Domain def initialize(twilio) super @base_url = 'https://flex-api.twilio.com' @host = 'flex-api.twilio.com' @port = 443 # Versions @v1 = nil end ## # Version v1 of flex_api def v1 @v1 ||= V1.new self end ## # @param [String] sid The unique string that we created to identify the Channel # resource. # @return [Twilio::REST::Flex_api::V1::ChannelInstance] if sid was passed. # @return [Twilio::REST::Flex_api::V1::ChannelList] def channel(sid=:unset) self.v1.channel(sid) end ## # @return [Twilio::REST::Flex_api::V1::ConfigurationInstance] def configuration self.v1.configuration() end ## # @param [String] sid The unique string that we created to identify the Flex Flow # resource. # @return [Twilio::REST::Flex_api::V1::FlexFlowInstance] if sid was passed. # @return [Twilio::REST::Flex_api::V1::FlexFlowList] def flex_flow(sid=:unset) self.v1.flex_flow(sid) end ## # @param [String] sid The unique string that we created to identify the WebChannel # resource. # @return [Twilio::REST::Flex_api::V1::WebChannelInstance] if sid was passed. # @return [Twilio::REST::Flex_api::V1::WebChannelList] def web_channel(sid=:unset) self.v1.web_channel(sid) end ## # Provide a user friendly representation def to_s '#<Twilio::REST::FlexApi>' end end end end
Version data entries
31 entries across 31 versions & 1 rubygems