Class: RestCore::Dry

Inherits:
Object
  • Object
show all
Includes:
Middleware
Defined in:
lib/rest-core/engine/dry.rb

Constant Summary

Constants included from Middleware

Middleware::UNRESERVED

Constants included from RestCore

ASYNC, CLIENT, DRY, FAIL, HIJACK, LOG, PROMISE, REQUEST_HEADERS, REQUEST_METHOD, REQUEST_PATH, REQUEST_PAYLOAD, REQUEST_QUERY, RESPONSE_BODY, RESPONSE_HEADERS, RESPONSE_SOCKET, RESPONSE_STATUS, Simple, TIMER, Universal, VERSION

Instance Method Summary collapse

Methods included from Middleware

contain_binary?, #contain_binary?, escape, #escape, #fail, #id, included, #log, #percent_encode, percent_encode, request_uri, #request_uri, #run, #string_keys, string_keys

Methods included from RestCore

eagerload, id

Instance Method Details

#call(env) {|env| ... } ⇒ Object

Yields:

  • (env)


6
7
8
# File 'lib/rest-core/engine/dry.rb', line 6

def call env
  yield(env)
end