class Curl::ThreadPool::Request
Attributes
body[RW]
methods supported: :delete, :get, :head, :post, :put
key[RW]
methods supported: :delete, :get, :head, :post, :put
method[RW]
methods supported: :delete, :get, :head, :post, :put
uri[RW]
methods supported: :delete, :get, :head, :post, :put
Public Class Methods
new(key, uri, method=:get, body=nil)
click to toggle source
# File lib/curb_threadpool.rb, line 11 def initialize(key, uri, method=:get, body=nil) @key = key @uri = uri @method = method @body = body end