Class: S3AssetsDeployer::Configuration::AssetsConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
lib/s3_assets_deployer/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAssetsConfiguration

Returns a new instance of AssetsConfiguration.



7
8
9
10
# File 'lib/s3_assets_deployer/configuration.rb', line 7

def initialize
  self.root_path = Rails.root.join('public')
  self.prefix_paths = ['assets']
end

Instance Attribute Details

#prefix_pathsObject

Returns the value of attribute prefix_paths

Returns:

  • (Object)

    the current value of prefix_paths



6
7
8
# File 'lib/s3_assets_deployer/configuration.rb', line 6

def prefix_paths
  @prefix_paths
end

#root_pathObject

Returns the value of attribute root_path

Returns:

  • (Object)

    the current value of root_path



6
7
8
# File 'lib/s3_assets_deployer/configuration.rb', line 6

def root_path
  @root_path
end