Sha256: 705ba075e1485f414aff70cd7349e35a4c5ddec033839020d675a9486ac69f45

Contents?: true

Size: 405 Bytes

Versions: 4

Compression:

Stored size: 405 Bytes

Contents

module PostmonRuby
  module Finders
    class Finders
      @finders = { 
        cep:    PostmonRuby::Finders::CepFinder.new,
        cidade: PostmonRuby::Finders::CityFinder.new,
        estado: PostmonRuby::Finders::StateFinder.new,
        rastreio: PostmonRuby::Finders::TrackerFinder.new
      }

      def self.get_finder(finder)
        @finders[finder.to_sym]
      end
        
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
postmon_ruby-2.1.3 lib/postmon_ruby/finders/finders.rb
postmon_ruby-2.1.2 lib/postmon_ruby/finders/finders.rb
postmon_ruby-2.1.1 lib/postmon_ruby/finders/finders.rb
postmon_ruby-2.1.0 lib/postmon_ruby/finders/finders.rb