Class: Textus::Domain::Policy::Promotion::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/textus/domain/policy/promotion.rb

Instance Attribute Summary collapse

Instance Attribute Details

#ok?Object

Returns the value of attribute ok?

Returns:

  • (Object)

    the current value of ok?



7
8
9
# File 'lib/textus/domain/policy/promotion.rb', line 7

def ok?
  @ok?
end

#reasonsObject

Returns the value of attribute reasons

Returns:

  • (Object)

    the current value of reasons



7
8
9
# File 'lib/textus/domain/policy/promotion.rb', line 7

def reasons
  @reasons
end