Module: Bkblz
- Defined in:
- lib/bkblz.rb,
lib/bkblz/config.rb,
lib/bkblz/logger.rb,
lib/bkblz/version.rb,
lib/bkblz/core_ext.rb,
lib/bkblz/task/task.rb,
lib/bkblz/v1/models.rb,
lib/bkblz/v1/request.rb,
lib/bkblz/v1/session.rb,
lib/bkblz/v1/response.rb,
lib/bkblz/v1/model_base.rb,
lib/bkblz/v1/upload_file.rb,
lib/bkblz/v1/upload_part.rb,
lib/bkblz/task/list_files.rb,
lib/bkblz/v1/list_buckets.rb,
lib/bkblz/task/upload_file.rb,
lib/bkblz/v1/create_bucket.rb,
lib/bkblz/v1/delete_bucket.rb,
lib/bkblz/v1/download_file.rb,
lib/bkblz/v1/get_file_info.rb,
lib/bkblz/map_key_formatter.rb,
lib/bkblz/task/list_buckets.rb,
lib/bkblz/task/task_helpers.rb,
lib/bkblz/v1/error_response.rb,
lib/bkblz/v1/get_upload_url.rb,
lib/bkblz/task/create_bucket.rb,
lib/bkblz/task/download_file.rb,
lib/bkblz/task/get_file_info.rb,
lib/bkblz/v1/list_file_names.rb,
lib/bkblz/v1/start_large_file.rb,
lib/bkblz/v1/authorize_account.rb,
lib/bkblz/v1/finish_large_file.rb,
lib/bkblz/v1/list_file_versions.rb,
lib/bkblz/v1/delete_file_version.rb,
lib/bkblz/v1/get_upload_part_url.rb
Defined Under Namespace
Modules: CoreExt, Task, V1
Classes: Config, Logger, MapKeyFormatter
Constant Summary
collapse
- BaseError =
Class.new ::StandardError
- VERSION =
"0.1.14"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
14
15
16
17
18
19
20
|
# File 'lib/bkblz.rb', line 14
def config
unless @config
@config = Bkblz::Config.configure
config_changed
end
@config
end
|
9
10
11
12
|
# File 'lib/bkblz.rb', line 9
def configure(&block)
@config = Bkblz::Config.configure @config, &block
config_changed
end
|
.log ⇒ Object
22
23
24
|
# File 'lib/bkblz.rb', line 22
def log
@logger ||= config_logger
end
|