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.
25 |
# File 'app/services/payment/strategy_resolver.rb', line 25 def initialize(capture_before:, days_remaining:, source:) = super |
Instance Attribute Details
#capture_before ⇒ Object (readonly)
Returns the value of attribute capture_before
24 25 26 |
# File 'app/services/payment/strategy_resolver.rb', line 24 def capture_before @capture_before end |
#days_remaining ⇒ Object (readonly)
Returns the value of attribute days_remaining
24 25 26 |
# File 'app/services/payment/strategy_resolver.rb', line 24 def days_remaining @days_remaining end |
#source ⇒ Object (readonly)
Returns the value of attribute source
24 25 26 |
# File 'app/services/payment/strategy_resolver.rb', line 24 def source @source end |