Class: Telnyx::Resources::Pricing

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/pricing.rb,
lib/telnyx/resources/pricing/products.rb,
sig/telnyx/resources/pricing.rbs,
sig/telnyx/resources/pricing/products.rbs

Defined Under Namespace

Classes: Products

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Pricing

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

Parameters:



13
14
15
16
# File 'lib/telnyx/resources/pricing.rb', line 13

def initialize(client:)
  @client = client
  @products = Telnyx::Resources::Pricing::Products.new(client: client)
end

Instance Attribute Details

#productsTelnyx::Resources::Pricing::Products (readonly)

Public pricing operations



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

def products
  @products
end