Class: ZendeskAPI::TicketEvent

Inherits:
DataResource show all
Defined in:
lib/zendesk_api/resources.rb

Defined Under Namespace

Classes: Event

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from ZendeskAPI::Data

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ZendeskAPI::Data

Class Method Details

.incremental_export(client, start_time) ⇒ Collection

Gets a incremental export of ticket events from the start_time until now.

Parameters:

  • client (Client)

    The Client object to be used

  • start_time (Integer)

    The start_time parameter

Returns:



385
386
387
# File 'lib/zendesk_api/resources.rb', line 385

def self.incremental_export(client, start_time)
  ZendeskAPI::Collection.new(client, self, :path => "incremental/ticket_events?start_time=#{start_time.to_i}")
end

Instance Method Details

#child_events(options = {}) ⇒ ZendeskAPI::TicketEvent::Event

Returns The associated object

Parameters:

  • options (Hash) (defaults to: {})

    Options to pass to the collection object

Returns:



377
# File 'lib/zendesk_api/resources.rb', line 377

has_many :child_events, :class => Event

#child_events=(value) ⇒ ZendeskAPI::TicketEvent::Event

Returns The associated object

Parameters:

Returns:



377
# File 'lib/zendesk_api/resources.rb', line 377

has_many :child_events, :class => Event

#ticketZendeskAPI::Ticket

Returns The associated object

Returns:



378
# File 'lib/zendesk_api/resources.rb', line 378

has Ticket

#ticket=(value) ⇒ ZendeskAPI::Ticket

Returns The associated object

Parameters:

Returns:



378
# File 'lib/zendesk_api/resources.rb', line 378

has Ticket

#updaterZendeskAPI::User

Returns The associated object

Returns:



379
# File 'lib/zendesk_api/resources.rb', line 379

has :updater, :class => User

#updater=(value) ⇒ ZendeskAPI::User

Returns The associated object

Parameters:

Returns:



379
# File 'lib/zendesk_api/resources.rb', line 379

has :updater, :class => User