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)



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

def action
  @action
end

#idString

ID value for record



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



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



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

def object_type
  @object_type
end