Class: Icalia::MembershipEvent
- Includes:
- ResourceAction
- Defined in:
- lib/icalia/models/events/membership_event.rb
Instance Attribute Summary
Attributes inherited from ModelBase
Instance Method Summary collapse
Methods inherited from ModelBase
has_many, has_one, #initialize
Methods included from ResourceIdentity
Constructor Details
This class inherits a constructor from Icalia::ModelBase
Instance Method Details
#added? ⇒ Boolean
8 |
# File 'lib/icalia/models/events/membership_event.rb', line 8 def added?; action == 'added'; end |
#removed? ⇒ Boolean
9 |
# File 'lib/icalia/models/events/membership_event.rb', line 9 def removed?; action == 'removed'; end |