Sha256: 24262d9d5058123798951eba9a25f62363c37aedc064513b22009390e02de770

Contents?: true

Size: 900 Bytes

Versions: 9

Compression:

Stored size: 900 Bytes

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /
# 
# frozen_string_literal: true

module Twilio
  module REST
    class Studio < Domain
      ##
      # Initialize the Studio Domain
      def initialize(twilio)
        super

        @base_url = 'https://studio.twilio.com'
        @host = 'studio.twilio.com'
        @port = 443

        # Versions
        @v1 = nil
      end

      ##
      # Version v1 of studio
      def v1
        @v1 ||= V1.new self
      end

      ##
      # @param [String] sid The sid
      # @return [Twilio::REST::Studio::V1::FlowInstance] if sid was passed.
      # @return [Twilio::REST::Studio::V1::FlowList]
      def flows(sid=:unset)
        self.v1.flows(sid)
      end

      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Studio>'
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
twilio-ruby-5.10.7 lib/twilio-ruby/rest/studio.rb
twilio-ruby-5.10.6 lib/twilio-ruby/rest/studio.rb
twilio-ruby-5.10.5 lib/twilio-ruby/rest/studio.rb
twilio-ruby-5.10.4 lib/twilio-ruby/rest/studio.rb
twilio-ruby-5.10.3 lib/twilio-ruby/rest/studio.rb
twilio-ruby-5.10.2 lib/twilio-ruby/rest/studio.rb
twilio-ruby-5.10.1 lib/twilio-ruby/rest/studio.rb
twilio-ruby-5.10.0 lib/twilio-ruby/rest/studio.rb
twilio-ruby-5.9.0 lib/twilio-ruby/rest/studio.rb