Sha256: a3347d1dd64788d240b6d476770e49538cadd3bb3aa692a663b6b2973abe3489

Contents?: true

Size: 443 Bytes

Versions: 5

Compression:

Stored size: 443 Bytes

Contents

# 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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bikepoa-tools-0.4.0 lib/bikepoa.rb
bikepoa-tools-0.3.1 lib/bikepoa.rb
bikepoa-tools-0.3.0 lib/bikepoa.rb
bikepoa-tools-0.2.0 lib/bikepoa.rb
bikepoa-tools-0.1.0 lib/bikepoa.rb