Class: OTX::Event

Inherits:
Type::Base show all
Defined in:
lib/otx_ruby/types/event.rb

Overview

Account Events Object Type

Author:

  • Stephen Kapp

Instance Attribute Summary collapse

Attributes inherited from Type::Base

#created, #modified

Method Summary

Methods inherited from Type::Base

#initialize

Constructor Details

This class inherits a constructor from OTX::Type::Base

Instance Attribute Details

#actionString

Action peformed, currently supports (subscribe, unsubscribe, delete)

Returns:

  • (String)

    the current value of action



11
12
13
# File 'lib/otx_ruby/types/event.rb', line 11

def action
  @action
end

#idString

ID value for record

Returns:

  • (String)

    the current value of id



11
12
13
# File 'lib/otx_ruby/types/event.rb', line 11

def id
  @id
end

#object_idString

ID value for the object the event is created for

Returns:

  • (String)

    the current value of object_id



11
12
13
# File 'lib/otx_ruby/types/event.rb', line 11

def object_id
  @object_id
end

#object_typeString

Currently supports events for pulse and user objects

Returns:

  • (String)

    the current value of object_type



11
12
13
# File 'lib/otx_ruby/types/event.rb', line 11

def object_type
  @object_type
end