Class: ReportableRails::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/reportable_rails.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



40
41
42
43
44
# File 'lib/reportable_rails.rb', line 40

def initialize
  @user_class = 'User'
  @default_category_name = 'Uncategorized'
  @report_submitted_callback = nil
end

Instance Attribute Details

#default_category_nameObject

Returns the value of attribute default_category_name.



38
39
40
# File 'lib/reportable_rails.rb', line 38

def default_category_name
  @default_category_name
end

#report_submitted_callbackObject

Returns the value of attribute report_submitted_callback.



38
39
40
# File 'lib/reportable_rails.rb', line 38

def 
  @report_submitted_callback
end

#user_classObject

Returns the value of attribute user_class.



38
39
40
# File 'lib/reportable_rails.rb', line 38

def user_class
  @user_class
end