Class: Logster::Group::GroupWeb
- Inherits:
-
Struct
- Object
- Struct
- Logster::Group::GroupWeb
- Defined in:
- lib/logster/group.rb
Instance Method Summary collapse
Instance Method Details
#key ⇒ Object
119 120 121 |
# File 'lib/logster/group.rb', line 119 def key self.regex # alias for testing convenience end |
#to_json(opts = nil) ⇒ Object
115 116 117 |
# File 'lib/logster/group.rb', line 115 def to_json(opts = nil) JSON.fast_generate(self.to_h.merge(severity: -1, group: true), opts) end |