class Twilio::REST::Preview::BulkExports::ExportList

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 help@twilio.com.

Public Class Methods

new(version) click to toggle source

Initialize the ExportList @param [Version] version Version that contains the resource @return [ExportList] ExportList

Calls superclass method Twilio::REST::ListResource::new
   # File lib/twilio-ruby/rest/preview/bulk_exports/export.rb
20 def initialize(version)
21   super(version)
22 
23   # Path Solution
24   @solution = {}
25 
26   # Components
27   @jobs = nil
28 end

Public Instance Methods

jobs(job_sid=:unset) click to toggle source

Access the jobs @param [String] job_sid The unique string that that we created to identify the

Bulk Export job

@return [JobList] @return [JobContext] if job_sid was passed.

   # File lib/twilio-ruby/rest/preview/bulk_exports/export.rb
36 def jobs(job_sid=:unset)
37   raise ArgumentError, 'job_sid cannot be nil' if job_sid.nil?
38 
39   if job_sid != :unset
40     return JobContext.new(@version, job_sid, )
41   end
42 
43     @jobs ||= JobList.new(@version, )
44 end
to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/preview/bulk_exports/export.rb
48 def to_s
49   '#<Twilio.Preview.BulkExports.ExportList>'
50 end