Class: PuushHelper
- Inherits:
-
Object
- Object
- PuushHelper
- Defined in:
- lib/puushload/puush_helper.rb
Class Method Summary collapse
Class Method Details
.get_file_name_from_response(response) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/puushload/puush_helper.rb', line 2 def self.get_file_name_from_response(response) contentDisposition = response['content-disposition'] if contentDisposition.nil? then return false end contentDisposition.split(";")[1].split("=")[1].gsub("\"", "") end |