class Twilio::REST::Supersim
Public Class Methods
Initialize the Supersim
Domain
Twilio::REST::Domain::new
# File lib/twilio-ruby/rest/supersim.rb 14 def initialize(twilio) 15 super 16 17 @base_url = 'https://supersim.twilio.com' 18 @host = 'supersim.twilio.com' 19 @port = 443 20 21 # Versions 22 @v1 = nil 23 end
Public Instance Methods
@param [String] sid The unique string that we created to identify the Command
resource.
@return [Twilio::REST::Supersim::V1::CommandInstance] if sid was passed. @return [Twilio::REST::Supersim::V1::CommandList]
# File lib/twilio-ruby/rest/supersim.rb 36 def commands(sid=:unset) 37 self.v1.commands(sid) 38 end
@param [String] sid The unique string that we created to identify the Fleet
resource.
@return [Twilio::REST::Supersim::V1::FleetInstance] if sid was passed. @return [Twilio::REST::Supersim::V1::FleetList]
# File lib/twilio-ruby/rest/supersim.rb 45 def fleets(sid=:unset) 46 self.v1.fleets(sid) 47 end
@param [String] sid The unique string that identifies the Network Access Profile
resource.
@return [Twilio::REST::Supersim::V1::NetworkAccessProfileInstance] if sid was passed. @return [Twilio::REST::Supersim::V1::NetworkAccessProfileList]
# File lib/twilio-ruby/rest/supersim.rb 63 def network_access_profiles(sid=:unset) 64 self.v1.network_access_profiles(sid) 65 end
@param [String] sid The unique string that we created to identify the Network
resource.
@return [Twilio::REST::Supersim::V1::NetworkInstance] if sid was passed. @return [Twilio::REST::Supersim::V1::NetworkList]
# File lib/twilio-ruby/rest/supersim.rb 54 def networks(sid=:unset) 55 self.v1.networks(sid) 56 end
@param [String] sid The unique string that identifies the Sim resource. @return [Twilio::REST::Supersim::V1::SimInstance] if sid was passed. @return [Twilio::REST::Supersim::V1::SimList]
# File lib/twilio-ruby/rest/supersim.rb 71 def sims(sid=:unset) 72 self.v1.sims(sid) 73 end
@param [String] sid The unique string that we created to identify the SMS
Command resource.
@return [Twilio::REST::Supersim::V1::SmsCommandInstance] if sid was passed. @return [Twilio::REST::Supersim::V1::SmsCommandList]
# File lib/twilio-ruby/rest/supersim.rb 80 def sms_commands(sid=:unset) 81 self.v1.sms_commands(sid) 82 end
Provide a user friendly representation
# File lib/twilio-ruby/rest/supersim.rb 92 def to_s 93 '#<Twilio::REST::Supersim>' 94 end
@return [Twilio::REST::Supersim::V1::UsageRecordInstance]
# File lib/twilio-ruby/rest/supersim.rb 86 def usage_records 87 self.v1.usage_records() 88 end
Version
v1 of supersim
# File lib/twilio-ruby/rest/supersim.rb 27 def v1 28 @v1 ||= V1.new self 29 end