Module: Balloon

Defined in:
lib/balloon.rb,
lib/balloon/up.rb,
lib/balloon/base.rb,
lib/balloon/load.rb,
lib/balloon/cache.rb,
lib/balloon/error.rb,
lib/balloon/version.rb,
lib/balloon/download.rb,
lib/balloon/uploader.rb,
lib/balloon/validate.rb,
lib/balloon/processing.rb,
lib/balloon/http/client.rb,
lib/balloon/storage/file.rb,
lib/balloon/configuration.rb,
lib/balloon/http/response.rb,
lib/balloon/storage/store.rb,
lib/balloon/storage/upyun.rb,
lib/balloon/file_extension.rb,
lib/rails/generators/balloon/config/config_generator.rb

Overview

Balloon

Defined Under Namespace

Modules: Cache, Configuration, Download, Generators, Http, Processing, Storage, Up, Uploader, Validate Classes: Base, DownloadError, FileExtension, ProcessError, Railtie, UploadError

Constant Summary collapse

VERSION =
"1.1.7"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject

Returns the value of attribute root.



9
10
11
# File 'lib/balloon.rb', line 9

def root
  @root
end

Class Method Details

.configure(&block) ⇒ Object



10
11
12
# File 'lib/balloon.rb', line 10

def configure(&block)
  Balloon::Base.configure &block
end

.configure_load(config, env) ⇒ Object



14
15
16
# File 'lib/balloon.rb', line 14

def configure_load(config, env)
  Balloon::Base.setup config, env
end