Exception: AssetCloud::AssetNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- AssetCloud::AssetNotFoundError
- Defined in:
- lib/asset_cloud/bucket.rb
Instance Method Summary collapse
-
#initialize(key, version = nil) ⇒ AssetNotFoundError
constructor
A new instance of AssetNotFoundError.
Constructor Details
#initialize(key, version = nil) ⇒ AssetNotFoundError
Returns a new instance of AssetNotFoundError.
5 6 7 |
# File 'lib/asset_cloud/bucket.rb', line 5 def initialize(key, version = nil) super(version ? "Could not find version #{version} of asset #{key}" : "Could not find asset #{key}") end |