Sha256: 0cde78923791354b0fb0d15a3efd0f016ae43b7f399579ba7f0afe86e43bff95
Contents?: true
Size: 701 Bytes
Versions: 4
Compression:
Stored size: 701 Bytes
Contents
# frozen_string_literal: true module AutotaskRuby # Represents the Autotask Entity Ticket class Ticket include Entity include Query FIELDS = %i[id AccountID ContactID CreateDate Description DueDateTime LastActivityDate AssignedResourceID Status TicketNumber Title].freeze .each do |field| attr_accessor :"#{field.to_s.underscore}" end # Returns the associated Account def account find('Account', account_id) end # Returns the associated Contact def contact find('Contact', contact_id) end end end
Version data entries
4 entries across 4 versions & 1 rubygems