Class: Telnyx::Resources::Legacy

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/legacy.rb,
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: Reporting

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Legacy

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 Legacy.

Parameters:



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

def initialize(client:)
  @client = client
  @reporting = Telnyx::Resources::Legacy::Reporting.new(client: client)
end

Instance Attribute Details

#reportingTelnyx::Resources::Legacy::Reporting (readonly)



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

def reporting
  @reporting
end