Class: SolidusFriendlyPromotions::EligibilityResult

Inherits:
Struct
  • Object
show all
Defined in:
app/models/solidus_friendly_promotions/eligibility_result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



4
5
6
# File 'app/models/solidus_friendly_promotions/eligibility_result.rb', line 4

def code
  @code
end

#conditionObject

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



4
5
6
# File 'app/models/solidus_friendly_promotions/eligibility_result.rb', line 4

def condition
  @condition
end

#itemObject

Returns the value of attribute item

Returns:

  • (Object)

    the current value of item



4
5
6
# File 'app/models/solidus_friendly_promotions/eligibility_result.rb', line 4

def item
  @item
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



4
5
6
# File 'app/models/solidus_friendly_promotions/eligibility_result.rb', line 4

def message
  @message
end

#successObject

Returns the value of attribute success

Returns:

  • (Object)

    the current value of success



4
5
6
# File 'app/models/solidus_friendly_promotions/eligibility_result.rb', line 4

def success
  @success
end