class ZendeskAPI::Channel
Public Instance Methods
work_items()
click to toggle source
# File lib/zendesk_api/resources.rb, line 22 def work_items @work_items ||= attributes.fetch('relationships', {}).fetch('work_items', {}).fetch('data', []).map do |work_item_attributes| WorkItem.new(@client, work_item_attributes) end end