Sha256: a0ed52752df1a60d3cc47457a02af44ae1d804130cb4dec57dabf0bdf642a94a

Contents?: true

Size: 849 Bytes

Versions: 6

Compression:

Stored size: 849 Bytes

Contents

require 'rails'
require 'xing_backend_token_auth'
require 'rails/rfc6570'
require 'sidekiq'
require 'rack/cors'

module Xing
  mattr_accessor :backend_subdomain

  # Configure xing via pattern similar to Rails:
  #
  # Xing.configure do |config|
  #   config.setting =  'value'
  # end
  #
  # Supported settings right now are:
  #   * backend_subdomain (default: 'api')
  def self.configure(&block)
    yield self
  end

  module Controllers
    autoload :Base,                    'xing/controllers/base'

    # NOTE: The rails router expects the the controller to have "Controller" as
    # the suffix of the name, or it complains.
    autoload :RootResourcesController, 'xing/controllers/root_resources_controller'
  end
end

require 'xing/mappers'
require 'xing/engine'
require 'xing/serializers'
require 'xing/services'
require 'xing/builders'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
xing-backend-1.0.0.pre.beta lib/xing-backend.rb
xing-backend-0.0.25 lib/xing-backend.rb
xing-backend-0.0.23 lib/xing-backend.rb
xing-backend-0.0.22 lib/xing-backend.rb
xing-backend-0.0.21 lib/xing-backend.rb
xing-backend-0.0.20 lib/xing-backend.rb