Class: Vonage::Subaccounts::ListResponse
- Includes:
- Enumerable
- Defined in:
- lib/vonage/subaccounts/list_response.rb
Overview
typed: true
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
#initialize, #method_missing, #respond_to_missing?
Constructor Details
This class inherits a constructor from Vonage::Response
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Vonage::Response
Instance Method Details
#each ⇒ Object
10 11 12 13 14 |
# File 'lib/vonage/subaccounts/list_response.rb', line 10 def each return enum_for(:each) unless block_given? @entity..subaccounts.each { |item| yield item } end |
#primary_account ⇒ Object
6 7 8 |
# File 'lib/vonage/subaccounts/list_response.rb', line 6 def primary_account @entity..primary_account end |