Class: ExceptionNotifier::HatoNotifier::Query
- Inherits:
-
Object
- Object
- ExceptionNotifier::HatoNotifier::Query
- Defined in:
- lib/exception_notifier/hato_notifier.rb
Class Method Summary collapse
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize(template, exception, options = {}) ⇒ Query
constructor
A new instance of Query.
Constructor Details
#initialize(template, exception, options = {}) ⇒ Query
Returns a new instance of Query.
55 56 57 58 59 |
# File 'lib/exception_notifier/hato_notifier.rb', line 55 def initialize(template, exception, = {}) @exception = exception @options = @template = template end |
Class Method Details
.build(template, exception, options = {}) ⇒ Object
65 66 67 |
# File 'lib/exception_notifier/hato_notifier.rb', line 65 def self.build(template, exception, = {}) self.new(template, exception, ).build end |
Instance Method Details
#build ⇒ Object
61 62 63 |
# File 'lib/exception_notifier/hato_notifier.rb', line 61 def build (@template) end |