Class: Twilio::REST::Wireless

Inherits:
WirelessBase show all
Defined in:
lib/twilio-ruby/rest/wireless.rb,
lib/twilio-ruby/rest/wireless/v1.rb,
lib/twilio-ruby/rest/wireless/v1/sim.rb,
lib/twilio-ruby/rest/wireless/v1/command.rb,
lib/twilio-ruby/rest/wireless/v1/rate_plan.rb,
lib/twilio-ruby/rest/wireless/v1/usage_record.rb,
lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb,
lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from WirelessBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::WirelessBase

Instance Method Details

#commands(sid = :unset) ⇒ Twilio::REST::Wireless::V1::CommandInstance, Twilio::REST::Wireless::V1::CommandList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Command resource.

Returns:



16
17
18
19
# File 'lib/twilio-ruby/rest/wireless.rb', line 16

def commands(sid=:unset)
  warn "commands is deprecated. Use v1.commands instead."
  self.v1.commands(sid)
end

#rate_plans(sid = :unset) ⇒ Twilio::REST::Wireless::V1::RatePlanInstance, Twilio::REST::Wireless::V1::RatePlanList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the RatePlan resource.

Returns:



26
27
28
29
# File 'lib/twilio-ruby/rest/wireless.rb', line 26

def rate_plans(sid=:unset)
  warn "rate_plans is deprecated. Use v1.rate_plans instead."
  self.v1.rate_plans(sid)
end

#sims(sid = :unset) ⇒ Twilio::REST::Wireless::V1::SimInstance, Twilio::REST::Wireless::V1::SimList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Sim resource.

Returns:



36
37
38
39
# File 'lib/twilio-ruby/rest/wireless.rb', line 36

def sims(sid=:unset)
  warn "sims is deprecated. Use v1.sims instead."
  self.v1.sims(sid)
end

#usage_recordsTwilio::REST::Wireless::V1::UsageRecordInstance



6
7
8
9
# File 'lib/twilio-ruby/rest/wireless.rb', line 6

def usage_records
  warn "usage_records is deprecated. Use v1.usage_records instead."
  self.v1.usage_records()
end