Class: Twilio::REST::Preview::Wireless::SimContext::UsageList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/preview/wireless/sim/usage.rb

Overview

PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected]

Instance Method Summary collapse

Constructor Details

#initialize(version, sim_sid: nil) ⇒ UsageList

Initialize the UsageList

Parameters:

  • version (Version)

    Version that contains the resource

  • sim_sid (String) (defaults to: nil)

    The sim_sid


22
23
24
25
26
27
# File 'lib/twilio-ruby/rest/preview/wireless/sim/usage.rb', line 22

def initialize(version, sim_sid: nil)
  super(version)

  # Path Solution
  @solution = {sim_sid: sim_sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation


31
32
33
# File 'lib/twilio-ruby/rest/preview/wireless/sim/usage.rb', line 31

def to_s
  '#<Twilio.Preview.Wireless.UsageList>'
end