Class: Restify::Adapter::Base
- Inherits:
-
Object
- Object
- Restify::Adapter::Base
- Includes:
- Telemetry
- Defined in:
- lib/restify/adapter/base.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Telemetry
Instance Method Details
#call(request) ⇒ Object
10 11 12 13 14 |
# File 'lib/restify/adapter/base.rb', line 10 def call(request) Promise.create do |writer| call_native request, writer end end |
#call_native(_request, _writer) ⇒ Object
16 17 18 |
# File 'lib/restify/adapter/base.rb', line 16 def call_native(_request, _writer) throw NotImplementedError.new 'Subclass responsibility' end |