Class: Telnyx::Resources::PhoneNumberBlocks
- Inherits:
-
Object
- Object
- Telnyx::Resources::PhoneNumberBlocks
- Defined in:
- lib/telnyx/resources/phone_number_blocks.rb,
lib/telnyx/resources/phone_number_blocks/jobs.rb
Defined Under Namespace
Classes: Jobs
Instance Attribute Summary collapse
-
#jobs ⇒ Telnyx::Resources::PhoneNumberBlocks::Jobs
readonly
Background jobs performed over a phone-numbers block’s phone numbers.
Instance Method Summary collapse
-
#initialize(client:) ⇒ PhoneNumberBlocks
constructor
private
A new instance of PhoneNumberBlocks.
Constructor Details
#initialize(client:) ⇒ PhoneNumberBlocks
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 PhoneNumberBlocks.
13 14 15 16 |
# File 'lib/telnyx/resources/phone_number_blocks.rb', line 13 def initialize(client:) @client = client @jobs = Telnyx::Resources::PhoneNumberBlocks::Jobs.new(client: client) end |
Instance Attribute Details
#jobs ⇒ Telnyx::Resources::PhoneNumberBlocks::Jobs (readonly)
Background jobs performed over a phone-numbers block’s phone numbers
8 9 10 |
# File 'lib/telnyx/resources/phone_number_blocks.rb', line 8 def jobs @jobs end |