Class: KCommercial::Resources::StringAsset

Inherits:
Asset
  • Object
show all
Defined in:
lib/KCommercialPipeline/core/resource/source/asset.rb

Instance Attribute Summary

Attributes inherited from Asset

#name, #root_path, #trait_rows, #valid

Instance Method Summary collapse

Methods inherited from Asset

#initialize

Constructor Details

This class inherits a constructor from KCommercial::Resources::Asset

Instance Method Details

#decode_resource(resource) ⇒ Object



83
84
85
86
# File 'lib/KCommercialPipeline/core/resource/source/asset.rb', line 83

def decode_resource(resource)
  return unless resource
  resource.to_s
end