lib/hybag.rb in hybag-0.0.3 vs lib/hybag.rb in hybag-0.0.4
- old
+ new
@@ -4,9 +4,12 @@
require 'hybag/version'
require 'hybag/baggable'
require 'hybag/validator'
require 'hybag/bag_writer'
+require 'hybag/ingester'
module Hybag
-
+ def self.ingest(bag)
+ Hybag::Ingester.new(bag).ingest
+ end
end