Class: WebfleetConnect::FormatHandlers::ErrorParser
- Inherits:
-
Object
- Object
- WebfleetConnect::FormatHandlers::ErrorParser
- Defined in:
- lib/webfleet_connect/format_handlers/error_parser.rb
Direct Known Subclasses
Instance Method Summary collapse
- #error?(response) ⇒ Boolean
-
#initialize(session) ⇒ ErrorParser
constructor
A new instance of ErrorParser.
Constructor Details
#initialize(session) ⇒ ErrorParser
Returns a new instance of ErrorParser.
3 4 5 |
# File 'lib/webfleet_connect/format_handlers/error_parser.rb', line 3 def initialize(session) @session = session end |
Instance Method Details
#error?(response) ⇒ Boolean
7 8 9 |
# File 'lib/webfleet_connect/format_handlers/error_parser.rb', line 7 def error?(response) raise NotImplementedError end |