Class: LogStruct::Integrations::ActiveRecord::State

Inherits:
Struct
  • Object
show all
Defined in:
lib/log_struct/integrations/active_record.rb

Overview

Track subscription state keyed to the current Notifications.notifier instance

Instance Attribute Summary collapse

Instance Attribute Details

#notifier_id ⇒ Object

Returns the value of attribute notifier_id

Returns:

  • (Object) —

    the current value of notifier_id



45
46
47
# File 'lib/log_struct/integrations/active_record.rb', line 45

def notifier_id
  @notifier_id
end

#subscribed ⇒ Object

Returns the value of attribute subscribed

Returns:

  • (Object) —

    the current value of subscribed



45
46
47
# File 'lib/log_struct/integrations/active_record.rb', line 45

def subscribed
  @subscribed
end