CyberSource / cybersource-rest-client-ruby

Ruby client library for the CyberSource REST API
Other
6 stars 36 forks source link

Allow temp file creation in ReportDownloadsApi #23

Open ShepFc3 opened 5 years ago

ShepFc3 commented 5 years ago

We have reports that can reach multiple GBs that we need to download. I would like the ability to pass return_type: 'File' in the options. This would be much more efficient than receiving the report in the response body. Is there a reason that the return_type isn't being passed in the below code?

https://github.com/CyberSource/cybersource-rest-client-ruby/blob/master/lib/cybersource_rest_client/api/report_downloads_api.rb#L94-L99

ShepFc3 commented 5 years ago

I have made the changes for this specific case to work, but I would like to avoid running off of a fork.

ShepFc3 commented 5 years ago

Anyone able to help me with this one?