Sha256: 559ed7b5f2555fefd0e1ea0beb8ec0a0cc90ad144859e31d34fe83ca66f6be33

Contents?: true

Size: 656 Bytes

Versions: 5

Compression:

Stored size: 656 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"

module Telnyx
  class LedgerBillingGroupReportTest < Test::Unit::TestCase
    should "create ledger_billing_group_reports" do
      LedgerBillingGroupReport.create
      assert_requested :post, "#{Telnyx.api_base}/v2/ledger_billing_group_reports"
    end

    should "retrieve ledger_billing_group_reports" do
      ledger = LedgerBillingGroupReport.retrieve("70308070-fb3c-32ee-0a59-ce012cd4840d")
      assert_requested :get, "#{Telnyx.api_base}/v2/ledger_billing_group_reports/70308070-fb3c-32ee-0a59-ce012cd4840d"
      assert_kind_of LedgerBillingGroupReport, ledger
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
telnyx-3.0.5 test/telnyx/ledger_billing_group_report_test.rb
telnyx-3.0.4 test/telnyx/ledger_billing_group_report_test.rb
telnyx-3.0.3 test/telnyx/ledger_billing_group_report_test.rb
telnyx-3.0.2 test/telnyx/ledger_billing_group_report_test.rb
telnyx-3.0.0 test/telnyx/ledger_billing_group_report_test.rb