Class: Rucoa::Handlers::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/rucoa/handlers/base.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(request:, server:) ⇒ Base

Returns a new instance of Base.

Parameters:



23
24
25
26
27
28
29
# File 'lib/rucoa/handlers/base.rb', line 23

def initialize(
  request:,
  server:
)
  @request = request
  @server = server
end

Class Method Details

.call(request:, server:) ⇒ void

This method returns an undefined value.

Parameters:



10
11
12
13
14
15
16
17
18
# File 'lib/rucoa/handlers/base.rb', line 10

def call(
  request:,
  server:
)
  new(
    request: request,
    server: server
  ).call
end

Instance Method Details

#callvoid

This method returns an undefined value.

Raises:

  • (::NotImplementedError)


32
33
34
# File 'lib/rucoa/handlers/base.rb', line 32

def call
  raise ::NotImplementedError
end