Class: Telnyx::Resources::BundlePricing

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/bundle_pricing.rb,
lib/telnyx/resources/bundle_pricing/user_bundles.rb,
lib/telnyx/resources/bundle_pricing/billing_bundles.rb

Defined Under Namespace

Classes: BillingBundles, UserBundles

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ BundlePricing

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

Parameters:



15
16
17
18
19
# File 'lib/telnyx/resources/bundle_pricing.rb', line 15

def initialize(client:)
  @client = client
  @billing_bundles = Telnyx::Resources::BundlePricing::BillingBundles.new(client: client)
  @user_bundles = Telnyx::Resources::BundlePricing::UserBundles.new(client: client)
end

Instance Attribute Details

#billing_bundlesTelnyx::Resources::BundlePricing::BillingBundles (readonly)



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

def billing_bundles
  @billing_bundles
end

#user_bundlesTelnyx::Resources::BundlePricing::UserBundles (readonly)



10
11
12
# File 'lib/telnyx/resources/bundle_pricing.rb', line 10

def user_bundles
  @user_bundles
end