Module: Loggun::Helpers::InitMethods

Defined in:
lib/loggun/helpers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#log_all_methods ⇒ Object

Returns the value of attribute log_all_methods.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def log_all_methods
  @log_all_methods
end

#log_entity_action ⇒ Object

Returns the value of attribute log_entity_action.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def log_entity_action
  @log_entity_action
end

#log_entity_name ⇒ Object

Returns the value of attribute log_entity_name.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def log_entity_name
  @log_entity_name
end

#log_modified_methods ⇒ Object

Returns the value of attribute log_modified_methods.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def log_modified_methods
  @log_modified_methods
end

#log_only_methods ⇒ Object

Returns the value of attribute log_only_methods.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def log_only_methods
  @log_only_methods
end

#log_skip_methods ⇒ Object

Returns the value of attribute log_skip_methods.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def log_skip_methods
  @log_skip_methods
end

#log_transaction_except ⇒ Object

Returns the value of attribute log_transaction_except.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def log_transaction_except
  @log_transaction_except
end

#log_transaction_generator ⇒ Object

Returns the value of attribute log_transaction_generator.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def log_transaction_generator
  @log_transaction_generator
end

#with_log_transaction_id ⇒ Object

Returns the value of attribute with_log_transaction_id.



17
18
19
# File 'lib/loggun/helpers.rb', line 17

def with_log_transaction_id
  @with_log_transaction_id
end

Instance Method Details

#loggun_init ⇒ Object



29
30
31
32
# File 'lib/loggun/helpers.rb', line 29

def loggun_init
  @log_modified_methods = []
  @log_all_methods = false
end