Sha256: 74ebe03b2639f14f9eacb4047a262b99e15028f77ed625f139f705503a8b744d

Contents?: true

Size: 681 Bytes

Versions: 1

Compression:

Stored size: 681 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 template 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.pre4 lib/globase.rb