class Bigid::Bgcheck::ResultCode

Constants

APPROVED
ERROR
NOT_APPROVED
NO_INFO
VALUES

Public Class Methods

approved?(code) click to toggle source
# File lib/bigid/bgcheck/result_code.rb, line 21
def self.approved?(code)
  code.to_i == APPROVED
end
no_info?(code) click to toggle source
# File lib/bigid/bgcheck/result_code.rb, line 25
def self.no_info?(code)
  code.to_i == NO_INFO
end
valid?(code) click to toggle source
# File lib/bigid/bgcheck/result_code.rb, line 13
def self.valid?(code)
  VALUES.include?(code.to_i)
end
values() click to toggle source
# File lib/bigid/bgcheck/result_code.rb, line 17
def self.values
  VALUES
end