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_idObject

Returns the value of attribute notifier_id

Returns:

  • (Object)

    the current value of notifier_id



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

def notifier_id
  @notifier_id
end

#subscribedObject

Returns the value of attribute subscribed

Returns:

  • (Object)

    the current value of subscribed



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

def subscribed
  @subscribed
end