Module: FuturesPipeline

Defined in:
lib/futures_pipeline.rb,
lib/futures_pipeline/client.rb,
lib/futures_pipeline/request.rb,
lib/futures_pipeline/version.rb,
lib/futures_pipeline/connection.rb

Defined Under Namespace

Modules: Connection, Request Classes: Client

Constant Summary collapse

VERSION =
"0.2.1"

Class Method Summary collapse

Class Method Details

.method_missing(method, *args, &block) ⇒ Object

Delegate to FuturesPipeline::Client



13
14
15
16
# File 'lib/futures_pipeline.rb', line 13

def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end

.newFuturesPipeline::Client

Alias for FuturesPipeline::Client.new



8
9
10
# File 'lib/futures_pipeline.rb', line 8

def new
  FuturesPipeline::Client.new
end

.respond_to?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/futures_pipeline.rb', line 18

def respond_to?(method, include_private=false)
  new.respond_to?(method, include_private) || super(method, include_private)
end