Module: Faraday::Adapter::Parallelism
- Included in:
- Faraday::Adapter
- Defined in:
- lib/faraday/adapter.rb
Overview
Public: This module marks an Adapter as supporting parallel requests.
Instance Attribute Summary collapse
-
#supports_parallel ⇒ Object
writeonly
Sets the attribute supports_parallel.
Instance Method Summary collapse
Instance Attribute Details
#supports_parallel=(value) ⇒ Object (writeonly)
Sets the attribute supports_parallel
36 37 38 |
# File 'lib/faraday/adapter.rb', line 36 def supports_parallel=(value) @supports_parallel = value end |
Instance Method Details
#inherited(subclass) ⇒ Object
39 40 41 42 |
# File 'lib/faraday/adapter.rb', line 39 def inherited(subclass) super subclass.supports_parallel = self.supports_parallel? end |
#supports_parallel? ⇒ Boolean
37 |
# File 'lib/faraday/adapter.rb', line 37 def supports_parallel?() @supports_parallel end |