Module: Xing

Defined in:
lib/xing/engine.rb,
lib/xing-backend.rb,
lib/xing/mappers.rb,
lib/xing/builders.rb,
lib/xing/services.rb,
lib/xing/serializers.rb,
lib/xing/mappers/base.rb,
lib/xing/snapshot/writer.rb,
lib/xing/controllers/base.rb,
lib/xing/serializers/base.rb,
lib/xing/snapshot/fetcher.rb,
lib/xing/snapshot/sitemap.rb,
lib/xing/builders/list_builder.rb,
lib/xing/snapshot/site_page_set.rb,
lib/xing/snapshot/site_snapshot.rb,
lib/xing/services/class_registry.rb,
lib/xing/snapshot/domain_helpers.rb,
lib/xing/nominal/dependency_utils.rb,
lib/xing/services/error_converter.rb,
lib/xing/nominal/secrets_validator.rb,
lib/xing/services/json_tree_lister.rb,
lib/xing/serializers/root_resources.rb,
lib/xing/snapshot/local_site_snapshot.rb,
lib/xing/builders/ordered_list_builder.rb,
lib/xing/nominal/yaml_config_validator.rb,
lib/xing/snapshot/remote_site_snapshot.rb,
lib/xing/nominal/database_config_validator.rb,
lib/xing/controllers/root_resources_controller.rb

Defined Under Namespace

Modules: Builders, Controllers, JsonSpecHelpers, Mappers, Nominal, Serializers, Services, Snapshot Classes: Engine

Class Method Summary collapse

Class Method Details

.configure {|_self| ... } ⇒ Object

Configure xing via pattern similar to Rails:

Xing.configure do |config|

config.setting =  'value'

end

Supported settings right now are:

* backend_subdomain (default: 'api')

Yields:

  • (_self)

Yield Parameters:

  • _self (Xing)

    the object that the method was called on



18
19
20
# File 'lib/xing-backend.rb', line 18

def self.configure(&block)
  yield self
end