class Bacardi::FraudCheck

Public Class Methods

new(order, notifier) click to toggle source
# File lib/bacardi/fraud_check.rb, line 5
def initialize(order, notifier)
  @order = order
  @notifier = notifier
end

Public Instance Methods

no_malicious_product_change?() click to toggle source
# File lib/bacardi/fraud_check.rb, line 10
def no_malicious_product_change?
   (@order.product_id == @notifier.item_number) && (@order.product_name == @notifier.item_name)
end