lib/facebook_ads/ad.rb in facebook_ads-0.6.10 vs lib/facebook_ads/ad.rb in facebook_ads-0.6.11
- old
+ new
@@ -8,16 +8,16 @@
STATUSES = %w[ACTIVE PAUSED DELETED PENDING_REVIEW DISAPPROVED PREAPPROVED PENDING_BILLING_INFO CAMPAIGN_PAUSED ARCHIVED ADSET_PAUSED].freeze
# belongs_to ad_account
def ad_account
- @ad_set ||= AdAccount.find(account_id)
+ @ad_account ||= AdAccount.find(account_id)
end
# belongs_to ad_campaign
def ad_campaign
- @ad_set ||= AdCampaign.find(campaign_id)
+ @ad_campaign ||= AdCampaign.find(campaign_id)
end
# belongs_to ad_set
def ad_set