Module: Bberg
- Defined in:
- lib/bberg/client.rb,
lib/bberg/version.rb,
lib/bberg/bberg_wrapper.rb,
lib/bberg/bberg_exception.rb,
lib/bberg/requests/refdata_request_base.rb,
lib/bberg/requests/reference_data_request.rb,
lib/bberg/requests/historical_data_request.rb
Defined Under Namespace
Modules: Native, Requests Classes: BbergException, Client
Constant Summary collapse
- VERSION =
bberg gem version
"0.1.0"
Class Method Summary collapse
-
.jar_path ⇒ String
path to where the bloomberg java API jar can be found.
Class Method Details
.jar_path ⇒ String
path to where the bloomberg java API jar can be found.
either uses the path in the env variable BBERG_JAVA_HOME or defaults to 'C:/blp/API/APIv3/JavaAPI/v3.3.3.3/lib'
10 11 12 13 14 |
# File 'lib/bberg/bberg_wrapper.rb', line 10 def self.jar_path # load either from BBERG_JAVA_HOME or the default location base_path = ENV['BBERG_JAVA_HOME'].nil? ? 'C:/blp/API/APIv3/JavaAPI/v3.3.3.3/lib' : ENV['BBERG_JAVA_HOME'] File.join(base_path, 'blpapi3.jar') end |