Class: MessageFactory::Handlers::Handler

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

Instance Method Summary collapse

Instance Method Details

#process(data) ⇒ Object

data

string of data

Process string and create proper message

Raises:

  • (NotImplementedError)


22
23
24
# File 'lib/Handler.rb', line 22

def process(data)
    raise NotImplementedError.new
end

#types_processObject

Returns symbol or array of symbols of allowed message types

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/Handler.rb', line 16

def types_process
    raise NotImplementedError.new
end