Class: Otto::ResponseHandlers::BaseHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/otto/response_handlers.rb

Overview

Base response handler class

Class Method Summary collapse

Class Method Details

.handle(result, response, context = {}) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/otto/response_handlers.rb', line 7

def self.handle(result, response, context = {})
  raise NotImplementedError, "Subclasses must implement handle method"
end