lib/crp/result_mapper.rb in crp-0.0.1 vs lib/crp/result_mapper.rb in crp-0.0.2
- old
+ new
@@ -1,8 +1,9 @@
require 'cgi'
module CRP
class ResultMapper
+ # Maps the CRP result codes to a human readable message.
def self.to_message(code)
case code
when 1
"Approved"
when 2