app/models/unassisted_plan_cost_decorator.rb
#TODO: FIX me to refactor hard coded rating area
FIX me to refactor hard coded rating area
FIX me to refactor hard coded rating area
def premium_for(member)
    (::BenefitMarkets::Products::ProductRateCache.lookup_rate(__getobj__, schedule_date, age_of(member), rating_area, tobacco_use_for(member)) * large_family_factor(member)).round(2)
  rescue StandardError => e
    warn e.inspect unless Rails.env.test?
    warn e.backtrace unless Rails.env.test?
    0
  end
def premium_for ( member ) ( :: BenefitMarkets :: Products :: ProductRateCache . lookup_rate ( __getobj__ , schedule_date , age_of ( member ) , rating_area , tobacco_use_for ( member ) ) * large_family_factor ( member ) ) . round ( 2 ) rescue StandardError => e warn e . inspect unless Rails . env . test? warn e . backtrace unless Rails . env . test? 0 end
TODO: FIX me to refactor hard coded rating area
TODO : FIX me to refactor hard coded rating area
member