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


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

def descendants
  @descendants || []
end

.included(base) ⇒ Object


194
195
196
197
# File 'lib/zendesk_api/resource.rb', line 194

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