Class: Telnyx::Resources::BundlePricing
- Inherits:
-
Object
- Object
- Telnyx::Resources::BundlePricing
- 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
- #billing_bundles ⇒ Telnyx::Resources::BundlePricing::BillingBundles readonly
- #user_bundles ⇒ Telnyx::Resources::BundlePricing::UserBundles readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ BundlePricing
constructor
private
A new instance of BundlePricing.
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.
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_bundles ⇒ Telnyx::Resources::BundlePricing::BillingBundles (readonly)
7 8 9 |
# File 'lib/telnyx/resources/bundle_pricing.rb', line 7 def billing_bundles @billing_bundles end |
#user_bundles ⇒ Telnyx::Resources::BundlePricing::UserBundles (readonly)
10 11 12 |
# File 'lib/telnyx/resources/bundle_pricing.rb', line 10 def user_bundles @user_bundles end |