class Twilio::REST::Bulkexports

Public Class Methods

new(twilio) click to toggle source

Initialize the Bulkexports Domain

Calls superclass method Twilio::REST::Domain::new
   # File lib/twilio-ruby/rest/bulkexports.rb
14 def initialize(twilio)
15   super
16 
17   @base_url = 'https://bulkexports.twilio.com'
18   @host = 'bulkexports.twilio.com'
19   @port = 443
20 
21   # Versions
22   @v1 = nil
23 end

Public Instance Methods

export_configuration(resource_type=:unset) click to toggle source

@param [String] resource_type The type of communication – Messages, Calls,

Conferences, and Participants

@return [Twilio::REST::Bulkexports::V1::ExportConfigurationInstance] if resource_type was passed. @return [Twilio::REST::Bulkexports::V1::ExportConfigurationList]

   # File lib/twilio-ruby/rest/bulkexports.rb
45 def export_configuration(resource_type=:unset)
46   self.v1.export_configuration(resource_type)
47 end
exports(resource_type=:unset) click to toggle source

@param [String] resource_type The type of communication – Messages, Calls,

Conferences, and Participants

@return [Twilio::REST::Bulkexports::V1::ExportInstance] if resource_type was passed. @return [Twilio::REST::Bulkexports::V1::ExportList]

   # File lib/twilio-ruby/rest/bulkexports.rb
36 def exports(resource_type=:unset)
37   self.v1.exports(resource_type)
38 end
to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/bulkexports.rb
51 def to_s
52   '#<Twilio::REST::Bulkexports>'
53 end
v1() click to toggle source

Version v1 of bulkexports

   # File lib/twilio-ruby/rest/bulkexports.rb
27 def v1
28   @v1 ||= V1.new self
29 end