Class: Textus::Domain::Policy::Promotion::Result
- Inherits:
-
Struct
- Object
- Struct
- Textus::Domain::Policy::Promotion::Result
- Defined in:
- lib/textus/domain/policy/promotion.rb
Instance Attribute Summary collapse
-
#ok? ⇒ Object
Returns the value of attribute ok?.
-
#reasons ⇒ Object
Returns the value of attribute reasons.
Instance Attribute Details
#ok? ⇒ Object
Returns the value of attribute ok?
7 8 9 |
# File 'lib/textus/domain/policy/promotion.rb', line 7
def ok?
@ok?
end
|
#reasons ⇒ Object
Returns the value of attribute reasons
7 8 9 |
# File 'lib/textus/domain/policy/promotion.rb', line 7 def reasons @reasons end |