Class: Twilio::REST::Bulkexports::V1
- Defined in:
- lib/twilio-ruby/rest/bulkexports/v1.rb,
lib/twilio-ruby/rest/bulkexports/v1/export.rb,
lib/twilio-ruby/rest/bulkexports/v1/export/day.rb,
lib/twilio-ruby/rest/bulkexports/v1/export/job.rb,
lib/twilio-ruby/rest/bulkexports/v1/export_configuration.rb,
lib/twilio-ruby/rest/bulkexports/v1/export/export_custom_job.rb
Defined Under Namespace
Classes: ExportConfigurationContext, ExportConfigurationInstance, ExportConfigurationList, ExportConfigurationPage, ExportContext, ExportInstance, ExportList, ExportPage
Instance Attribute Summary
Attributes inherited from Version
Instance Method Summary collapse
- #export_configuration(resource_type = :unset) ⇒ Twilio::REST::Bulkexports::V1::ExportConfigurationContext, Twilio::REST::Bulkexports::V1::ExportConfigurationList
- #exports(resource_type = :unset) ⇒ Twilio::REST::Bulkexports::V1::ExportContext, Twilio::REST::Bulkexports::V1::ExportList
-
#initialize(domain) ⇒ V1
constructor
Initialize the V1 version of Bulkexports.
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Version
#absolute_url, #create, #delete, #exception, #fetch, #page, #read_limits, #relative_uri, #request, #stream, #update
Constructor Details
#initialize(domain) ⇒ V1
Initialize the V1 version of Bulkexports
21 22 23 24 25 26 |
# File 'lib/twilio-ruby/rest/bulkexports/v1.rb', line 21 def initialize(domain) super @version = 'v1' @exports = nil @export_configuration = nil end |
Instance Method Details
#export_configuration(resource_type = :unset) ⇒ Twilio::REST::Bulkexports::V1::ExportConfigurationContext, Twilio::REST::Bulkexports::V1::ExportConfigurationList
46 47 48 49 50 51 52 53 54 55 |
# File 'lib/twilio-ruby/rest/bulkexports/v1.rb', line 46 def export_configuration(resource_type=:unset) if resource_type.nil? raise ArgumentError, 'resource_type cannot be nil' end if resource_type == :unset @export_configuration ||= ExportConfigurationList.new self else ExportConfigurationContext.new(self, resource_type) end end |
#exports(resource_type = :unset) ⇒ Twilio::REST::Bulkexports::V1::ExportContext, Twilio::REST::Bulkexports::V1::ExportList
32 33 34 35 36 37 38 39 40 41 |
# File 'lib/twilio-ruby/rest/bulkexports/v1.rb', line 32 def exports(resource_type=:unset) if resource_type.nil? raise ArgumentError, 'resource_type cannot be nil' end if resource_type == :unset @exports ||= ExportList.new self else ExportContext.new(self, resource_type) end end |
#to_s ⇒ Object
Provide a user friendly representation
58 59 60 |
# File 'lib/twilio-ruby/rest/bulkexports/v1.rb', line 58 def to_s '<Twilio::REST::Bulkexports::V1>'; end |