Class: ZeroClick::Sellers::Stateful::NoCreditDimension
- Inherits:
-
Object
- Object
- ZeroClick::Sellers::Stateful::NoCreditDimension
- Defined in:
- lib/zeroclick/sellers/stateful/entitlement.rb
Instance Attribute Summary collapse
-
#next ⇒ Object
readonly
Returns the value of attribute next.
Instance Method Summary collapse
-
#initialize(next_state) ⇒ NoCreditDimension
constructor
A new instance of NoCreditDimension.
- #outcome ⇒ Object
Constructor Details
#initialize(next_state) ⇒ NoCreditDimension
Returns a new instance of NoCreditDimension.
50 51 52 53 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 50 def initialize(next_state) @next = next_state freeze end |
Instance Attribute Details
#next ⇒ Object (readonly)
Returns the value of attribute next.
48 49 50 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 48 def next @next end |
Instance Method Details
#outcome ⇒ Object
55 |
# File 'lib/zeroclick/sellers/stateful/entitlement.rb', line 55 def outcome = "no_credit_dimension" |