Module: Reparty
- Defined in:
- lib/reparty.rb,
lib/reparty/email.rb,
lib/reparty/config.rb,
lib/reparty/engine.rb,
lib/reparty/report.rb,
lib/reparty/version.rb,
lib/reparty/report/mixpanel.rb,
lib/reparty/report/sendgrid.rb,
lib/reparty/report/active_record.rb
Defined Under Namespace
Classes: Config, Email, Engine, Report
Constant Summary collapse
- VERSION =
"0.5.2"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
-
.reports ⇒ Object
readonly
Returns the value of attribute reports.
-
.weekly_reports ⇒ Object
readonly
Returns the value of attribute weekly_reports.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
19 20 21 |
# File 'lib/reparty.rb', line 19 def configuration @configuration end |
.reports ⇒ Object (readonly)
Returns the value of attribute reports.
20 21 22 |
# File 'lib/reparty.rb', line 20 def reports @reports end |
.weekly_reports ⇒ Object (readonly)
Returns the value of attribute weekly_reports.
20 21 22 |
# File 'lib/reparty.rb', line 20 def weekly_reports @weekly_reports end |
Class Method Details
.config {|configuration| ... } ⇒ Object
22 23 24 25 26 27 28 29 |
# File 'lib/reparty.rb', line 22 def config self.configuration = Config.new yield(configuration) @reports = self.configuration.reports @weekly_reports = self.configuration.weekly_reports end |
.root ⇒ Object
15 16 17 |
# File 'lib/reparty.rb', line 15 def root Pathname.new(File.('../..', __FILE__)) end |