Sha256: fbb6808172bab39b9cbf9f4c610afc2e9cbf1fcb4b2bea52243776d516b19947

Contents?: true

Size: 672 Bytes

Versions: 1

Compression:

Stored size: 672 Bytes

Contents

require 'oj'
require 'oj_mimic_json'
require 'rest-client'
require 'active_support/inflector'
require 'active_support/core_ext/module/introspection'
require 'globase/configuration'

%w(base resource nested_resource list campaign list_profile list_schema list_segment ).each do |c|
  require "globase/#{c}"
  eval "Globase::#{c.camelcase}.set_fields"
end

module Globase

  class << self

    def configure
      yield configuration
    end

    # Accessor for Adminsite::Configuration
    def configuration
      @configuration ||= Configuration.new
    end
    alias :config :configuration

  end

end

Globase.config.log_file_path = 'globase.log' if Globase.config.debug

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
globase-0.0.0.pre3 lib/globase.rb