From b54d9cbea395293ba9432404d83bd7af0f8d719b Mon Sep 17 00:00:00 2001 From: Katsuma Ito Date: Thu, 18 Apr 2024 15:05:23 +0900 Subject: [PATCH] fix: uninitialized constant FacebookAds::ServerSide::EventRequest::OpenStruct (NameError) require OpenStruct are optional since json gem v2.7.2 --- lib/facebook_ads/ad_objects/server_side/event_request.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/facebook_ads/ad_objects/server_side/event_request.rb b/lib/facebook_ads/ad_objects/server_side/event_request.rb index 0bcdb35c..e79ca209 100644 --- a/lib/facebook_ads/ad_objects/server_side/event_request.rb +++ b/lib/facebook_ads/ad_objects/server_side/event_request.rb @@ -17,6 +17,7 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. require 'json' +require 'ostruct' require_relative './event' require_relative './event_response'