Class: Pangea::Magma::Optimization::Retries
- Defined in:
- lib/pangea/magma/optimization.rb
Instance Attribute Summary collapse
-
#backoff_ms ⇒ Object
Returns the value of attribute backoff_ms.
-
#max ⇒ Object
Returns the value of attribute max.
Instance Method Summary collapse
Instance Attribute Details
#backoff_ms ⇒ Object
Returns the value of attribute backoff_ms
29 30 31 |
# File 'lib/pangea/magma/optimization.rb', line 29 def backoff_ms @backoff_ms end |
#max ⇒ Object
Returns the value of attribute max
29 30 31 |
# File 'lib/pangea/magma/optimization.rb', line 29 def max @max end |
Instance Method Details
#to_h ⇒ Object
30 31 32 |
# File 'lib/pangea/magma/optimization.rb', line 30 def to_h { max: max, backoff_ms: backoff_ms }.compact end |