module AssetsDeployer
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/assets_deployer.rb, line 17 def self.config @config ||= Configuration.new end
configure() { |config| ... }
click to toggle source
# File lib/assets_deployer.rb, line 21 def self.configure yield config end
run()
click to toggle source
# File lib/assets_deployer.rb, line 6 def self.run deployer = Deployer.new( storage: storage, root_path: config.assets.root_path, prefix_paths: config.assets.prefix_paths, ignore_paths: config.assets.ignore_paths ) deployer.run end
storage()
click to toggle source
# File lib/assets_deployer.rb, line 25 def self.storage builder = StorageBuilder.new( name: config.storage.name, credentials: config.storage.credentials, options: config.storage.options ) builder.build end