Class: Twilio::REST::Supersim

Inherits:
Domain
  • Object
show all
Defined in:
lib/twilio-ruby/rest/supersim.rb,
lib/twilio-ruby/rest/supersim/v1.rb,
lib/twilio-ruby/rest/supersim/v1/sim.rb,
lib/twilio-ruby/rest/supersim/v1/fleet.rb,
lib/twilio-ruby/rest/supersim/v1/network.rb,
lib/twilio-ruby/rest/supersim/v1/ip_command.rb,
lib/twilio-ruby/rest/supersim/v1/sms_command.rb,
lib/twilio-ruby/rest/supersim/v1/esim_profile.rb,
lib/twilio-ruby/rest/supersim/v1/usage_record.rb,
lib/twilio-ruby/rest/supersim/v1/sim/billing_period.rb,
lib/twilio-ruby/rest/supersim/v1/network_access_profile.rb,
lib/twilio-ruby/rest/supersim/v1/network_access_profile/network_access_profile_network.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from Domain

#absolute_url, #request

Constructor Details

#initialize(twilio) ⇒ Supersim

Initialize the Supersim Domain


14
15
16
17
18
19
20
21
22
23
# File 'lib/twilio-ruby/rest/supersim.rb', line 14

def initialize(twilio)
  super

  @base_url = 'https://supersim.twilio.com'
  @host = 'supersim.twilio.com'
  @port = 443

  # Versions
  @v1 = nil
end

Instance Method Details

#esim_profiles(sid = :unset) ⇒ Twilio::REST::Supersim::V1::EsimProfileInstance, Twilio::REST::Supersim::V1::EsimProfileList

Parameters:

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

    The unique string that we created to identify the eSIM Profile resource.

Returns:


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

def esim_profiles(sid=:unset)
  self.v1.esim_profiles(sid)
end

#fleets(sid = :unset) ⇒ Twilio::REST::Supersim::V1::FleetInstance, Twilio::REST::Supersim::V1::FleetList

Parameters:

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

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

Returns:


45
46
47
# File 'lib/twilio-ruby/rest/supersim.rb', line 45

def fleets(sid=:unset)
  self.v1.fleets(sid)
end

#ip_commands(sid = :unset) ⇒ Twilio::REST::Supersim::V1::IpCommandInstance, Twilio::REST::Supersim::V1::IpCommandList

Parameters:

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

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

Returns:


54
55
56
# File 'lib/twilio-ruby/rest/supersim.rb', line 54

def ip_commands(sid=:unset)
  self.v1.ip_commands(sid)
end

#network_access_profiles(sid = :unset) ⇒ Twilio::REST::Supersim::V1::NetworkAccessProfileInstance, Twilio::REST::Supersim::V1::NetworkAccessProfileList

Parameters:

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

    The unique string that identifies the Network Access Profile resource.

Returns:


72
73
74
# File 'lib/twilio-ruby/rest/supersim.rb', line 72

def network_access_profiles(sid=:unset)
  self.v1.network_access_profiles(sid)
end

#networks(sid = :unset) ⇒ Twilio::REST::Supersim::V1::NetworkInstance, Twilio::REST::Supersim::V1::NetworkList

Parameters:

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

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

Returns:


63
64
65
# File 'lib/twilio-ruby/rest/supersim.rb', line 63

def networks(sid=:unset)
  self.v1.networks(sid)
end

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

Parameters:

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

    The unique string that identifies the Sim resource.

Returns:


80
81
82
# File 'lib/twilio-ruby/rest/supersim.rb', line 80

def sims(sid=:unset)
  self.v1.sims(sid)
end

#sms_commands(sid = :unset) ⇒ Twilio::REST::Supersim::V1::SmsCommandInstance, Twilio::REST::Supersim::V1::SmsCommandList

Parameters:

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

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

Returns:


89
90
91
# File 'lib/twilio-ruby/rest/supersim.rb', line 89

def sms_commands(sid=:unset)
  self.v1.sms_commands(sid)
end

#to_sObject

Provide a user friendly representation


101
102
103
# File 'lib/twilio-ruby/rest/supersim.rb', line 101

def to_s
  '#<Twilio::REST::Supersim>'
end

#usage_recordsTwilio::REST::Supersim::V1::UsageRecordInstance


95
96
97
# File 'lib/twilio-ruby/rest/supersim.rb', line 95

def usage_records
  self.v1.usage_records()
end

#v1Object

Version v1 of supersim


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

def v1
  @v1 ||= V1.new self
end