Class: AdvancedBilling::FileWrapper
- Inherits:
-
CoreLibrary::FileWrapper
- Object
- CoreLibrary::FileWrapper
- AdvancedBilling::FileWrapper
- Defined in:
- lib/advanced_billing/utilities/file_wrapper.rb
Overview
A utility to allow users to set the content-type for files
Instance Method Summary collapse
-
#initialize(file, content_type: 'application/octet-stream') ⇒ FileWrapper
constructor
The constructor.
Constructor Details
#initialize(file, content_type: 'application/octet-stream') ⇒ FileWrapper
The constructor.
12 13 14 |
# File 'lib/advanced_billing/utilities/file_wrapper.rb', line 12 def initialize(file, content_type: 'application/octet-stream') super end |