Module: Faraday::Adapter::Parallelism

Included in:
Faraday::Adapter
Defined in:
lib/faraday/adapter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#supports_parallel=(value) ⇒ Object (writeonly)

Sets the attribute supports_parallel


31
32
33
# File 'lib/faraday/adapter.rb', line 31

def supports_parallel=(value)
  @supports_parallel = value
end

Instance Method Details

#inherited(subclass) ⇒ Object


34
35
36
37
# File 'lib/faraday/adapter.rb', line 34

def inherited(subclass)
  super
  subclass.supports_parallel = self.supports_parallel?
end

#supports_parallel?Boolean


32
# File 'lib/faraday/adapter.rb', line 32

def supports_parallel?() @supports_parallel end