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