Module: Bixby
- Defined in:
- lib/bixby-common.rb,
lib/bixby-common/bixby.rb,
lib/bixby-common/util/log.rb,
lib/bixby-common/util/debug.rb,
lib/bixby-common/command_spec.rb,
lib/bixby-common/util/hashify.rb,
lib/bixby-common/util/jsonify.rb,
lib/bixby-common/api/api_channel.rb,
lib/bixby-common/api/rpc_handler.rb,
lib/bixby-common/api/http_channel.rb,
lib/bixby-common/api/json_request.rb,
lib/bixby-common/command_response.rb,
lib/bixby-common/util/crypto_util.rb,
lib/bixby-common/util/http_client.rb,
lib/bixby-common/websocket/client.rb,
lib/bixby-common/api/json_response.rb,
lib/bixby-common/websocket/message.rb,
lib/bixby-common/websocket/request.rb,
lib/bixby-common/websocket/response.rb,
lib/bixby-common/websocket/api_channel.rb,
lib/bixby-common/api/signed_json_request.rb,
lib/bixby-common/websocket/async_response.rb,
lib/bixby-common/util/log/filtering_layout.rb,
lib/bixby-common/api/encrypted_json_request.rb,
lib/bixby-common/exception/bundle_not_found.rb,
lib/bixby-common/exception/encryption_error.rb,
lib/bixby-common/exception/command_exception.rb,
lib/bixby-common/exception/command_not_found.rb
Defined Under Namespace
Modules: CryptoUtil, Debug, Hashify, HttpClient, Jsonify, Log, WebSocket Classes: APIChannel, BundleNotFound, CommandException, CommandNotFound, CommandResponse, CommandSpec, EncryptedJsonRequest, EncryptionError, HttpChannel, JsonRequest, JsonResponse, RpcHandler, SignedJsonRequest
Class Attribute Summary collapse
-
.manager_uri ⇒ Object
Returns the value of attribute manager_uri.
Class Method Summary collapse
-
.path(*args) ⇒ Object
Helper for creating absolute paths inside BIXBY_HOME.
- .repo_path ⇒ Object
-
.root ⇒ Object
(also: home)
Path to BIXBY_HOME.
Class Attribute Details
.manager_uri ⇒ Object
Returns the value of attribute manager_uri.
4 5 6 |
# File 'lib/bixby-common/bixby.rb', line 4 def manager_uri @manager_uri end |
Class Method Details
.path(*args) ⇒ Object
Helper for creating absolute paths inside BIXBY_HOME
17 18 19 |
# File 'lib/bixby-common/bixby.rb', line 17 def path(*args) File.(File.join(root, *args)) end |
.repo_path ⇒ Object
6 7 8 |
# File 'lib/bixby-common/bixby.rb', line 6 def repo_path path("repo") end |
.root ⇒ Object Also known as: home
Path to BIXBY_HOME
11 12 13 |
# File 'lib/bixby-common/bixby.rb', line 11 def root ENV["BIXBY_HOME"] end |