in lib/facebook_ads/ad_objects/server_side/content.rb [42:68]
def initialize(product_id: nil, quantity: nil, item_price: nil, title: nil, description: nil, brand: nil, category: nil, delivery_category: nil)
unless product_id.nil?
self.product_id = String(product_id)
end
unless quantity.nil?
self.quantity = Integer(quantity)
end
unless item_price.nil?
self.item_price = Float(item_price)
end
unless title.nil?
self.title = String(title)
end
unless description.nil?
self.description = String(description)
end
unless brand.nil?
self.brand = String(brand)
end
unless category.nil?
self.category = String(category)
end
unless delivery_category.nil?
self.delivery_category = String(delivery_category)
end
end