Class: WebfleetConnect::FormatHandlers::ErrorParser

Inherits:
Object
  • Object
show all
Defined in:
lib/webfleet_connect/format_handlers/error_parser.rb

Direct Known Subclasses

CsvErrorParser, JsonErrorParser

Instance Method Summary collapse

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

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/webfleet_connect/format_handlers/error_parser.rb', line 7

def error?(response)
  raise NotImplementedError
end