Class: Firecrawl::Models::ConcurrencyCheck
- Inherits:
-
Object
- Object
- Firecrawl::Models::ConcurrencyCheck
- Defined in:
- lib/firecrawl/models/concurrency_check.rb
Overview
Current concurrency usage.
Instance Attribute Summary collapse
-
#concurrency ⇒ Object
readonly
Returns the value of attribute concurrency.
-
#max_concurrency ⇒ Object
readonly
Returns the value of attribute max_concurrency.
Instance Method Summary collapse
-
#initialize(data) ⇒ ConcurrencyCheck
constructor
A new instance of ConcurrencyCheck.
- #to_s ⇒ Object
Constructor Details
#initialize(data) ⇒ ConcurrencyCheck
Returns a new instance of ConcurrencyCheck.
9 10 11 12 |
# File 'lib/firecrawl/models/concurrency_check.rb', line 9 def initialize(data) @concurrency = data["concurrency"] @max_concurrency = data["maxConcurrency"] end |
Instance Attribute Details
#concurrency ⇒ Object (readonly)
Returns the value of attribute concurrency.
7 8 9 |
# File 'lib/firecrawl/models/concurrency_check.rb', line 7 def concurrency @concurrency end |
#max_concurrency ⇒ Object (readonly)
Returns the value of attribute max_concurrency.
7 8 9 |
# File 'lib/firecrawl/models/concurrency_check.rb', line 7 def max_concurrency @max_concurrency end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/firecrawl/models/concurrency_check.rb', line 14 def to_s "ConcurrencyCheck{concurrency=#{concurrency}/#{max_concurrency}}" end |