lib/twilio-ruby/rest/preview/wireless.rb in twilio-ruby-5.0.0.rc18 vs lib/twilio-ruby/rest/preview/wireless.rb in twilio-ruby-5.0.0.rc19
- old
+ new
@@ -1,10 +1,10 @@
##
# This code was generated by
# \ / _ _ _| _ _
# | (_)\/(_)(_|\/| |(/_ v1.0.0
-# / /
+# / /
module Twilio
module REST
class Preview
class Wireless < Version
@@ -12,37 +12,37 @@
# Initialize the Wireless version of Preview
def initialize(domain)
super
@version = 'wireless'
@commands = nil
- @devices = nil
@rate_plans = nil
+ @sims = nil
end
-
+
def commands(sid=:unset)
if sid == :unset
@commands ||= CommandList.new self
else
CommandContext.new(self, sid)
end
end
-
- def devices(sid=:unset)
+
+ def rate_plans(sid=:unset)
if sid == :unset
- @devices ||= DeviceList.new self
+ @rate_plans ||= RatePlanList.new self
else
- DeviceContext.new(self, sid)
+ RatePlanContext.new(self, sid)
end
end
-
- def rate_plans(sid=:unset)
+
+ def sims(sid=:unset)
if sid == :unset
- @rate_plans ||= RatePlanList.new self
+ @sims ||= SimList.new self
else
- RatePlanContext.new(self, sid)
+ SimContext.new(self, sid)
end
end
-
+
##
# Provide a user friendly representation
def to_s
'<Twilio::REST::Preview::Wireless>'
end
\ No newline at end of file