class Twilio::REST::Bulkexports::V1::ExportList
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/bulkexports/v1/export.rb 18 def initialize(version) 19 super(version) 20 21 # Path Solution 22 @solution = {} 23 24 # Components 25 @jobs = nil 26 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/bulkexports/v1/export.rb 34 def jobs(job_sid=:unset) 35 raise ArgumentError, 'job_sid cannot be nil' if job_sid.nil? 36 37 if job_sid != :unset 38 return JobContext.new(@version, job_sid, ) 39 end 40 41 @jobs ||= JobList.new(@version, ) 42 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/bulkexports/v1/export.rb 46 def to_s 47 '#<Twilio.Bulkexports.V1.ExportList>' 48 end