Class: Icalia::MembershipEvent

Inherits:
ModelBase show all
Includes:
ResourceAction
Defined in:
lib/icalia/models/events/membership_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

#added?Boolean

Returns:

  • (Boolean)


8
# File 'lib/icalia/models/events/membership_event.rb', line 8

def added?; action == 'added'; end

#removed?Boolean

Returns:

  • (Boolean)


9
# File 'lib/icalia/models/events/membership_event.rb', line 9

def removed?; action == 'removed'; end