module EmmyHttp

Constants

HTTP_METHODS
VERSION

Public Instance Methods

request(*a) { |req| ... } click to toggle source
# File lib/emmy_http.rb, line 37
def request(*a)
  EmmyHttp::Request.new(*a).tap { |req| yield(req) if block_given? }
end
request!(*a) click to toggle source
# File lib/emmy_http.rb, line 41
def request!(*a)
  request(*a, &b).operation
end