Class: RestBuilder::Dry

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

Constant Summary

Constants included from Middleware

Middleware::METHODS_WITH_PAYLOAD, Middleware::UNRESERVED

Instance Method Summary collapse

Methods included from Middleware

contain_binary?, #contain_binary?, #error_callback, escape, #escape, #fail, #give_promise, has_payload?, #has_payload?, included, #log, #merge_hash, merge_hash, percent_encode, #percent_encode, #request_uri, request_uri, #run, #string_keys, string_keys

Instance Method Details

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

Yields:

  • (env)


7
8
9
# File 'lib/rest-builder/engine/dry.rb', line 7

def call env
  yield(env)
end