Module: ZendeskAPI::DataNamespace

Included in:
DynamicContent, Voice
Defined in:
lib/zendesk_api/resource.rb

Overview

Namespace parent class for Data/Resource classes

Class Method Summary collapse

Class Method Details

.descendantsObject



203
204
205
# File 'lib/zendesk_api/resource.rb', line 203

def descendants
  @descendants || []
end

.included(base) ⇒ Object



198
199
200
201
# File 'lib/zendesk_api/resource.rb', line 198

def included(base)
  @descendants ||= []
  @descendants << base
end