in lib/facebook_ads/ad_objects/server_side/event.rb [240:277]
def to_s
hash = {}
unless event_name.nil?
hash['event_name'] = event_name
end
unless event_time.nil?
hash['event_time'] = event_time
end
unless event_source_url.nil?
hash['event_source_url'] = event_source_url
end
unless opt_out.nil?
hash['opt_out'] = opt_out
end
unless event_id.nil?
hash['event_id'] = event_id
end
unless user_data.nil?
hash['user_data'] = user_data.to_s
end
unless custom_data.nil?
hash['custom_data'] = custom_data.to_s
end
unless data_processing_options.nil?
hash['data_processing_options'] = data_processing_options.to_s
end
unless data_processing_options_country.nil?
hash['data_processing_options_country'] = data_processing_options_country.to_s
end
unless data_processing_options_state.nil?
hash['data_processing_options_state'] = data_processing_options_state.to_s
end
unless action_source.nil?
hash['action_source'] = action_source
end
hash.to_s
end