class Twilio::REST::Bulkexports::V1::ExportList::JobPage

Public Class Methods

new(version, response, solution) click to toggle source

Initialize the JobPage @param [Version] version Version that contains the resource @param [Response] response Response from the API @param [Hash] solution Path solution for the resource @return [JobPage] JobPage

Calls superclass method Twilio::REST::Page::new
   # File lib/twilio-ruby/rest/bulkexports/v1/export/job.rb
40 def initialize(version, response, solution)
41   super(version, response)
42 
43   # Path Solution
44   @solution = solution
45 end

Public Instance Methods

get_instance(payload) click to toggle source

Build an instance of JobInstance @param [Hash] payload Payload response from the API @return [JobInstance] JobInstance

   # File lib/twilio-ruby/rest/bulkexports/v1/export/job.rb
51 def get_instance(payload)
52   JobInstance.new(@version, payload, )
53 end
to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/bulkexports/v1/export/job.rb
57 def to_s
58   '<Twilio.Bulkexports.V1.JobPage>'
59 end