Class: Icalia::OrganizationEvent

Inherits:
ModelBase show all
Includes:
ResourceAction
Defined in:
lib/icalia-sdk-event-core/models/events/organization_event.rb

Instance Attribute Summary

Attributes inherited from ModelBase

#serialization_context

Instance Method Summary collapse

Methods inherited from ModelBase

has_many, has_one, #initialize

Methods included from ResourceIdentity

#to_key

Constructor Details

This class inherits a constructor from Icalia::ModelBase

Instance Method Details

#created?Boolean

Returns:

  • (Boolean)


9
# File 'lib/icalia-sdk-event-core/models/events/organization_event.rb', line 9

def created?; action == 'created'; end

#deleted?Boolean

Returns:

  • (Boolean)


10
# File 'lib/icalia-sdk-event-core/models/events/organization_event.rb', line 10

def deleted?; action == 'deleted'; end

#renamed?Boolean

Returns:

  • (Boolean)


11
# File 'lib/icalia-sdk-event-core/models/events/organization_event.rb', line 11

def renamed?; action == 'renamed'; end

#updated?Boolean

Returns:

  • (Boolean)


12
# File 'lib/icalia-sdk-event-core/models/events/organization_event.rb', line 12

def updated?; action == 'updated'; end