Class: WebfleetConnect::FormatHandlers::CsvErrorParser
- Inherits:
-
ErrorParser
- Object
- ErrorParser
- WebfleetConnect::FormatHandlers::CsvErrorParser
- Defined in:
- lib/webfleet_connect/format_handlers/csv_error_parser.rb
Instance Method Summary collapse
Methods inherited from ErrorParser
Constructor Details
This class inherits a constructor from WebfleetConnect::FormatHandlers::ErrorParser
Instance Method Details
#error?(message) ⇒ Boolean
5 6 7 8 |
# File 'lib/webfleet_connect/format_handlers/csv_error_parser.rb', line 5 def error?() code = .split(',').first four_digit_number?(code) end |