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
SIM Cards operations.
-
#register ⇒ Telnyx::Resources::Actions::Register
readonly
SIM Cards operations.
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.
17 18 19 20 21 |
# File 'lib/telnyx/resources/actions.rb', line 17 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)
SIM Cards operations
8 9 10 |
# File 'lib/telnyx/resources/actions.rb', line 8 def purchase @purchase end |
#register ⇒ Telnyx::Resources::Actions::Register (readonly)
SIM Cards operations
12 13 14 |
# File 'lib/telnyx/resources/actions.rb', line 12 def register @register end |