Module: Rapid

Defined in:
lib/ury_rapid.rb,
lib/ury_rapid/app.rb,
lib/ury_rapid/model.rb,
lib/ury_rapid/logger.rb,
lib/ury_rapid/server.rb,
lib/ury_rapid/launcher.rb,
lib/ury_rapid/model/log.rb,
lib/ury_rapid/model/view.rb,
lib/ury_rapid/baps/codes.rb,
lib/ury_rapid/server/app.rb,
lib/ury_rapid/model/item.rb,
lib/ury_rapid/baps/types.rb,
lib/ury_rapid/baps/models.rb,
lib/ury_rapid/baps/client.rb,
lib/ury_rapid/baps/reader.rb,
lib/ury_rapid/common/types.rb,
lib/ury_rapid/baps/service.rb,
lib/ury_rapid/services/set.rb,
lib/ury_rapid/services/root.rb,
lib/ury_rapid/common/payload.rb,
lib/ury_rapid/server/routing.rb,
lib/ury_rapid/model/constant.rb,
lib/ury_rapid/server/service.rb,
lib/ury_rapid/server/helpers.rb,
lib/ury_rapid/server/updater.rb,
lib/ury_rapid/model/composite.rb,
lib/ury_rapid/baps/exceptions.rb,
lib/ury_rapid/services/service.rb,
lib/ury_rapid/common/constants.rb,
lib/ury_rapid/services/handler.rb,
lib/ury_rapid/server/inspector.rb,
lib/ury_rapid/common/exceptions.rb,
lib/ury_rapid/model/model_object.rb,
lib/ury_rapid/services/code_table.rb,
lib/ury_rapid/services/connection.rb,
lib/ury_rapid/server/auth_request.rb,
lib/ury_rapid/server/helpers/auth.rb,
lib/ury_rapid/baps/format_strings.rb,
lib/ury_rapid/services/handler_set.rb,
lib/ury_rapid/server/helpers/files.rb,
lib/ury_rapid/model/update_channel.rb,
lib/ury_rapid/server/helpers/error.rb,
lib/ury_rapid/server/helpers/model.rb,
lib/ury_rapid/server/routing/files.rb,
lib/ury_rapid/services/environment.rb,
lib/ury_rapid/server/routing/model.rb,
lib/ury_rapid/baps/requests/request.rb,
lib/ury_rapid/baps/responses/parser.rb,
lib/ury_rapid/baps/requests/requester.rb,
lib/ury_rapid/model/component_creator.rb,
lib/ury_rapid/server/helpers/streaming.rb,
lib/ury_rapid/model/component_inserter.rb,
lib/ury_rapid/server/helpers/inspector.rb,
lib/ury_rapid/baps/responses/responder.rb,
lib/ury_rapid/services/network_service.rb,
lib/ury_rapid/services/response_buffer.rb,
lib/ury_rapid/server/routing/streaming.rb,
lib/ury_rapid/baps/responses/structures.rb,
lib/ury_rapid/services/requests/handler.rb,
lib/ury_rapid/services/responses/handler.rb,
lib/ury_rapid/baps/responses/command_word.rb,
lib/ury_rapid/model/structures/module_set.rb,
lib/ury_rapid/examples/hello_world_service.rb,
lib/ury_rapid/examples/fake_playout_service.rb,
lib/ury_rapid/baps/responses/handlers/system.rb,
lib/ury_rapid/model/structures/playout_model.rb,
lib/ury_rapid/services/requests/null_handler.rb,
lib/ury_rapid/baps/responses/handlers/loader.rb,
lib/ury_rapid/baps/requests/handlers/playlist.rb,
lib/ury_rapid/baps/requests/handlers/playback.rb,
lib/ury_rapid/model/component_creator_wrapper.rb,
lib/ury_rapid/baps/responses/handlers/handler.rb,
lib/ury_rapid/services/requests/handler_bundle.rb,
lib/ury_rapid/baps/responses/handlers/playlist.rb,
lib/ury_rapid/services/requests/player_handler.rb,
lib/ury_rapid/baps/responses/handlers/playback.rb,
lib/ury_rapid/services/requests/null_requester.rb,
lib/ury_rapid/services/requests/playlist_handler.rb,
lib/ury_rapid/services/requests/url_hash_handler.rb,
lib/ury_rapid/services/responses/structure_builder.rb,
lib/ury_rapid/services/requests/playlist_reference_parser.rb

Overview

The Rapid system.

Defined Under Namespace

Modules: Baps, Common, Examples, Logger, Model, Server, Services Classes: App, Launcher

Class Method Summary collapse

Class Method Details

.from_config_file(file = nil) ⇒ Object


6
7
8
9
10
11
12
13
# File 'lib/ury_rapid.rb', line 6

def self.from_config_file(file = nil)
  config = get_config(file)
  if config.nil?
    $stderr.puts('No config file. Dying.')
  else
    Rapid::Launcher.launch(config)
  end
end