Class: Pageflow::Chart::StringIOWithContentType
- Inherits:
-
StringIO
- Object
- StringIO
- Pageflow::Chart::StringIOWithContentType
- Defined in:
- app/jobs/pageflow/chart/scrape_site_job.rb
Instance Method Summary collapse
- #content_type ⇒ Object
-
#initialize(string, options) ⇒ StringIOWithContentType
constructor
A new instance of StringIOWithContentType.
- #original_filename ⇒ Object
Constructor Details
#initialize(string, options) ⇒ StringIOWithContentType
Returns a new instance of StringIOWithContentType.
58 59 60 61 |
# File 'app/jobs/pageflow/chart/scrape_site_job.rb', line 58 def initialize(string, ) super(string) = end |
Instance Method Details
#content_type ⇒ Object
63 64 65 |
# File 'app/jobs/pageflow/chart/scrape_site_job.rb', line 63 def content_type .fetch(:content_type) end |
#original_filename ⇒ Object
67 68 69 |
# File 'app/jobs/pageflow/chart/scrape_site_job.rb', line 67 def original_filename .fetch(:file_name) end |