Class: ExceptionNotifier::FluentLoggerNotifier::Argument
- Inherits:
-
Object
- Object
- ExceptionNotifier::FluentLoggerNotifier::Argument
- Defined in:
- lib/exception_notifier/fluent_logger_notifier.rb
Class Method Summary collapse
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(template, exception, options = {}) ⇒ Argument
constructor
A new instance of Argument.
Constructor Details
#initialize(template, exception, options = {}) ⇒ Argument
Returns a new instance of Argument.
29 30 31 32 33 |
# File 'lib/exception_notifier/fluent_logger_notifier.rb', line 29 def initialize(template, exception, = {}) @exception = exception @options = @template = template end |
Class Method Details
.build(template, exception, options = {}) ⇒ Object
39 40 41 |
# File 'lib/exception_notifier/fluent_logger_notifier.rb', line 39 def self.build(template, exception, = {}) self.new(template, exception, ).build end |
Instance Method Details
#build ⇒ Object
35 36 37 |
# File 'lib/exception_notifier/fluent_logger_notifier.rb', line 35 def build (@template) end |