Skip to content

Instantly share code, notes, and snippets.

Created February 18, 2009 14:24
Show Gist options
  • Save anonymous/66355 to your computer and use it in GitHub Desktop.
Save anonymous/66355 to your computer and use it in GitHub Desktop.
def rebate_status(rebate_claim)
if rebate_claim.status == 0
output = "New Claim"
elsif
rebate_claim.status == 1
output = "Pending LT Verification"
elsif
rebate_claim.status == 2
output = "Pending Property Verification"
elsif
rebate_claim.status == 3
output = "Disputed"
elsif
rebate_claim.status == 4
output = "Approved"
elsif
rebate_claim.status == 5
output = "Rejected"
else
output = "Status Not Available"
end
output
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment