Class: Payment::StrategyResolver::Deadline
- Inherits:
-
Data
- Object
- Data
- Payment::StrategyResolver::Deadline
- Defined in:
- app/services/payment/strategy_resolver.rb
Instance Attribute Summary collapse
-
#capture_before ⇒ Object
readonly
Returns the value of attribute capture_before.
-
#days_remaining ⇒ Object
readonly
Returns the value of attribute days_remaining.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(capture_before:, days_remaining:, source:) ⇒ Deadline
constructor
A new instance of Deadline.
Constructor Details
#initialize(capture_before:, days_remaining:, source:) ⇒ Deadline
Returns a new instance of Deadline.
20 |
# File 'app/services/payment/strategy_resolver.rb', line 20 def initialize(capture_before:, days_remaining:, source:) = super |
Instance Attribute Details
#capture_before ⇒ Object (readonly)
Returns the value of attribute capture_before
19 20 21 |
# File 'app/services/payment/strategy_resolver.rb', line 19 def capture_before @capture_before end |
#days_remaining ⇒ Object (readonly)
Returns the value of attribute days_remaining
19 20 21 |
# File 'app/services/payment/strategy_resolver.rb', line 19 def days_remaining @days_remaining end |
#source ⇒ Object (readonly)
Returns the value of attribute source
19 20 21 |
# File 'app/services/payment/strategy_resolver.rb', line 19 def source @source end |