# encoding: utf-8 require 'hashie' require 'active_support/inflector' module BikePOA def self.configure(&block) yield params = Hashie::Mash.new @config = params end def self.config @config or {} end def self.root(*parts) File.join(File.dirname(__FILE__), *parts) end %w[helpers client http_client map_parser station].each do |name| autoload name.camelize.to_sym, BikePOA.root("bikepoa/#{name}") end end