Class: Telnyx::Resources::Actions
- Inherits:
-
Object
- Object
- Telnyx::Resources::Actions
- Defined in:
- lib/telnyx/resources/actions.rb,
lib/telnyx/resources/actions/purchase.rb,
lib/telnyx/resources/actions/register.rb
Defined Under Namespace
Instance Attribute Summary collapse
- #purchase ⇒ Telnyx::Resources::Actions::Purchase readonly
- #register ⇒ Telnyx::Resources::Actions::Register readonly
Instance Method Summary collapse
-
#initialize(client:) ⇒ Actions
constructor
private
A new instance of Actions.
Constructor Details
#initialize(client:) ⇒ Actions
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 Actions.
15 16 17 18 19 |
# File 'lib/telnyx/resources/actions.rb', line 15 def initialize(client:) @client = client @purchase = Telnyx::Resources::Actions::Purchase.new(client: client) @register = Telnyx::Resources::Actions::Register.new(client: client) end |
Instance Attribute Details
#purchase ⇒ Telnyx::Resources::Actions::Purchase (readonly)
7 8 9 |
# File 'lib/telnyx/resources/actions.rb', line 7 def purchase @purchase end |
#register ⇒ Telnyx::Resources::Actions::Register (readonly)
10 11 12 |
# File 'lib/telnyx/resources/actions.rb', line 10 def register @register end |