Sha256: 95a786562c59251d36827cfaf8da4120379996d56753822763acd7d9a2dcbb05

Contents?: true

Size: 858 Bytes

Versions: 4

Compression:

Stored size: 858 Bytes

Contents

require 'rails'
require 'xing_backend_token_auth'
require 'rails/rfc6570'
require 'sidekiq'

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'
require 'deprecated_classes'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xing-backend-0.0.17 lib/xing-backend.rb
xing-backend-0.0.16 lib/xing-backend.rb
xing-backend-0.0.15 lib/xing-backend.rb
xing-backend-0.0.14 lib/xing-backend.rb