Sha256: 5a22ce784853859865a1ca35d6cee81ad9aafcfdc8e36e8f734e80dadf675309

Contents?: true

Size: 1.74 KB

Versions: 92

Compression:

Stored size: 1.74 KB

Contents

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

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

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

        # Versions
        @v1 = nil
      end

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

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

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

      ##
      # @param [String] sid The unique string that we created to identify the RatePlan
      #   resource.
      # @return [Twilio::REST::Wireless::V1::RatePlanInstance] if sid was passed.
      # @return [Twilio::REST::Wireless::V1::RatePlanList]
      def rate_plans(sid=:unset)
        self.v1.rate_plans(sid)
      end

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

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

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
twilio-ruby-5.44.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.43.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.42.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.41.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.40.4 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.40.3 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.40.2 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.40.1 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.40.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.39.3 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.39.2 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.39.1 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.39.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.38.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.37.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.36.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.35.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.34.1 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.34.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.33.1 lib/twilio-ruby/rest/wireless.rb