lib/verified.rb in verified-1.2.0 vs lib/verified.rb in verified-1.3.0
- old
+ new
@@ -1,22 +1,6 @@
-require 'verified/check'
+require "verified/version"
+require "verified/parser"
+require "verified/passport"
-Verified = Class.new
-class Verified::Passport
- def initialize(mrz_line_1, mrz_line_2)
- checker = Check.new
- @data = checker.check(mrz_line_1, mrz_line_2)
- end
-
- def verified?
- return false if @data == false
- return true
- end
-
- def method_missing(name, *args, &blk)
- if args.empty? && blk.nil? && @data.has_key?(name.to_s)
- @data[name.to_s]
- else
- super
- end
- end
-end
\ No newline at end of file
+module Verified
+end