Closed osdakira closed 4 years ago
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
I have this same issue.
This is still an issue, more than three years later! 😞
Which SDK version are you using?
What's the issue?
Batch API has the logic to return the response. However, there is no return value because each_slice has been added.
https://github.com/facebook/facebook-ruby-business-sdk/blob/bd80d59ef8a1f53422d74bb49a917e2a77bebcab/lib/facebook_ads/batch_api/batch.rb#L33-L51
Steps/Sample code to reproduce the issue
Observed Results:
Enumerable#each_slice
return nil.https://ruby-doc.org/core-2.5.0/Enumerable.html#method-i-each_slice
Expected Results:
I added the
map
method. It will be the expected result.