Sha256: aa02a270e35477746088c57589d38eb55429a20215d6eb9421f96cc50d056178

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

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

module Twilio
  module REST
    class Preview
      class Wireless < Version
        ##
        # Initialize the Wireless version of Preview
        def initialize(domain)
          super
          @version = 'wireless'
          @commands = nil
          @devices = nil
          @rate_plans = nil
        end
        
        def commands(sid=:unset)
          if sid == :unset
            @commands ||= CommandList.new self
          else
            CommandContext.new(self, sid)
          end
        end
        
        def devices(sid=:unset)
          if sid == :unset
            @devices ||= DeviceList.new self
          else
            DeviceContext.new(self, sid)
          end
        end
        
        def rate_plans(sid=:unset)
          if sid == :unset
            @rate_plans ||= RatePlanList.new self
          else
            RatePlanContext.new(self, sid)
          end
        end
        
        ##
        # Provide a user friendly representation
        def to_s
          #<Twilio::REST::Preview::Wireless>
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/rest/preview/wireless.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/rest/preview/wireless.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/rest/preview/wireless.rb
twilio-ruby-5.0.0.rc5 lib/twilio-ruby/rest/preview/wireless.rb