Class: Errapi::Plugins::Reason
- Inherits:
-
Object
- Object
- Errapi::Plugins::Reason
- Defined in:
- lib/errapi/plugins/reason.rb
Class Attribute Summary collapse
-
.camelize ⇒ Object
Returns the value of attribute camelize.
-
.config ⇒ Object
writeonly
Sets the attribute config.
Class Method Summary collapse
Class Attribute Details
.camelize ⇒ Object
Returns the value of attribute camelize.
5 6 7 |
# File 'lib/errapi/plugins/reason.rb', line 5 def camelize @camelize end |
.config=(value) ⇒ Object (writeonly)
Sets the attribute config
4 5 6 |
# File 'lib/errapi/plugins/reason.rb', line 4 def config=(value) @config = value end |
Class Method Details
.serialize_error(error, serialized) ⇒ Object
7 8 9 |
# File 'lib/errapi/plugins/reason.rb', line 7 def serialize_error error, serialized serialized[:reason] = serialized_reason error end |