Sha256: 342dc537763cfbf02bd784fed5cf91e8ab33055e33ee41246953c032c836c973

Contents?: true

Size: 1.7 KB

Versions: 5

Compression:

Stored size: 1.7 KB

Contents

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

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

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

        # Versions
        @v1 = nil
      end

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

      ##
      # @param [String] sid The unique string that we created to identify the Command
      #   resource.
      # @return [Twilio::REST::Supersim::V1::CommandInstance] if sid was passed.
      # @return [Twilio::REST::Supersim::V1::CommandList]
      def commands(sid=:unset)
        self.v1.commands(sid)
      end

      ##
      # @param [String] sid The unique string that we created to identify the Fleet
      #   resource.
      # @return [Twilio::REST::Supersim::V1::FleetInstance] if sid was passed.
      # @return [Twilio::REST::Supersim::V1::FleetList]
      def fleets(sid=:unset)
        self.v1.fleets(sid)
      end

      ##
      # @param [String] sid The unique string that identifies the Sim resource.
      # @return [Twilio::REST::Supersim::V1::SimInstance] if sid was passed.
      # @return [Twilio::REST::Supersim::V1::SimList]
      def sims(sid=:unset)
        self.v1.sims(sid)
      end

      ##
      # @return [Twilio::REST::Supersim::V1::UsageRecordInstance]
      def usage_records
        self.v1.usage_records()
      end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
twilio-ruby-5.34.0 lib/twilio-ruby/rest/supersim.rb
twilio-ruby-5.33.1 lib/twilio-ruby/rest/supersim.rb
twilio-ruby-5.33.0 lib/twilio-ruby/rest/supersim.rb
twilio-ruby-5.32.0 lib/twilio-ruby/rest/supersim.rb
twilio-ruby-5.31.6 lib/twilio-ruby/rest/supersim.rb