Method: ZendeskAPI::Data#loaded_associations
- Defined in:
- lib/zendesk_api/resource.rb
#loaded_associations ⇒ Object
109 110 111 112 113 114 |
# File 'lib/zendesk_api/resource.rb', line 109 def loaded_associations self.class.associations.select do |association| loaded = @attributes.method_missing(association[:name]) loaded && !(loaded.respond_to?(:empty?) && loaded.empty?) end end |