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.77.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.76.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.75.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.74.5 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.74.4 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.74.3 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.74.2 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.74.1 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.74.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.73.4 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.73.3 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.73.2 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.73.1 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.73.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.72.1 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.72.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.71.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.70.1 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.70.0 lib/twilio-ruby/rest/wireless.rb
twilio-ruby-5.69.0 lib/twilio-ruby/rest/wireless.rb