Exception: ActiveAssets::ActiveExpansions::Asset::InvalidAssetType
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveAssets::ActiveExpansions::Asset::InvalidAssetType
- Defined in:
- lib/active_assets/active_expansions/asset.rb
Instance Attribute Summary collapse
-
#invalid_type ⇒ Object
readonly
Returns the value of attribute invalid_type.
Instance Method Summary collapse
Instance Attribute Details
#invalid_type ⇒ Object (readonly)
Returns the value of attribute invalid_type.
30 31 32 |
# File 'lib/active_assets/active_expansions/asset.rb', line 30 def invalid_type @invalid_type end |
Instance Method Details
#initilaize(invalid_type) ⇒ Object
31 32 33 34 |
# File 'lib/active_assets/active_expansions/asset.rb', line 31 def initilaize(invalid_type) @invalid_type = invalid_type super("#{invalid_type} is not a recognized asset type.") end |