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
115 116 117 |
# File 'lib/logster/group.rb', line 115 def key self.regex # alias for testing convenience end |
#to_json(opts = nil) ⇒ Object
111 112 113 |
# File 'lib/logster/group.rb', line 111 def to_json(opts = nil) JSON.fast_generate(self.to_h.merge(severity: -1, group: true), opts) end |