Class: Telnyx::Resources::Legacy::Reporting

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/legacy/reporting.rb,
lib/telnyx/resources/legacy/reporting/usage_reports.rb,
lib/telnyx/resources/legacy/reporting/usage_reports/voice.rb,
lib/telnyx/resources/legacy/reporting/batch_detail_records.rb,
lib/telnyx/resources/legacy/reporting/usage_reports/messaging.rb,
lib/telnyx/resources/legacy/reporting/batch_detail_records/voice.rb,
lib/telnyx/resources/legacy/reporting/usage_reports/number_lookup.rb,
lib/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rb,
lib/telnyx/resources/legacy/reporting/batch_detail_records/speech_to_text.rb

Defined Under Namespace

Classes: BatchDetailRecords, UsageReports

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Reporting

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Reporting.

Parameters:



17
18
19
20
21
# File 'lib/telnyx/resources/legacy/reporting.rb', line 17

def initialize(client:)
  @client = client
  @batch_detail_records = Telnyx::Resources::Legacy::Reporting::BatchDetailRecords.new(client: client)
  @usage_reports = Telnyx::Resources::Legacy::Reporting::UsageReports.new(client: client)
end

Instance Attribute Details

#batch_detail_recordsTelnyx::Resources::Legacy::Reporting::BatchDetailRecords (readonly)



8
9
10
# File 'lib/telnyx/resources/legacy/reporting.rb', line 8

def batch_detail_records
  @batch_detail_records
end

#usage_reportsTelnyx::Resources::Legacy::Reporting::UsageReports (readonly)

Speech to text usage reports



12
13
14
# File 'lib/telnyx/resources/legacy/reporting.rb', line 12

def usage_reports
  @usage_reports
end