Class: Rusic::Uploaders::Asset
- Defined in:
- lib/rusic/uploaders/asset.rb
Instance Attribute Summary
Attributes inherited from Base
#api_host, #api_key, #file, #theme
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Rusic::Uploaders::Base
Instance Method Details
#perform ⇒ Object
4 5 6 |
# File 'lib/rusic/uploaders/asset.rb', line 4 def perform client["themes/#{theme}/assets/#{file.filename}"].put(params) end |