Class: LocoRb::Resource::Asset
- Inherits:
-
BaseResource
- Object
- OpenStruct
- BaseResource
- LocoRb::Resource::Asset
- Defined in:
- lib/loco-rb/resource/asset.rb
Instance Attribute Summary
Attributes inherited from BaseResource
Instance Method Summary collapse
-
#initialize(asset, headers, key = 'asset') ⇒ Asset
constructor
A new instance of Asset.
Constructor Details
#initialize(asset, headers, key = 'asset') ⇒ Asset
Returns a new instance of Asset.
6 7 8 |
# File 'lib/loco-rb/resource/asset.rb', line 6 def initialize(asset, headers, key='asset') super(asset, headers, key) end |