Class: Reportinator::Base

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::API, ActiveModel::Attributes, Helpers
Defined in:
lib/reportinator/base.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Helpers

#merge_hash, #merge_hash!, #symbolize_attributes

Class Method Details

.configObject



9
10
11
# File 'lib/reportinator/base.rb', line 9

def self.config
  Reportinator.config
end

.loggerObject



17
18
19
# File 'lib/reportinator/base.rb', line 17

def self.logger
  Reportinator.logger
end

Instance Method Details

#configObject



13
14
15
# File 'lib/reportinator/base.rb', line 13

def config
  self.class.config
end

#loggerObject



21
22
23
# File 'lib/reportinator/base.rb', line 21

def logger
  self.class.logger
end