Sha256: cc07d25da183be528c956a21e0a4431c2932f40f4eb97c42da71def943cd0cd3

Contents?: true

Size: 346 Bytes

Versions: 8

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

module FacebookAds
  # An ad user belongs to an ad account.
  # https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group
  class AdUser < Base
    FIELDS = %w[].freeze

    # belongs_to ad_account

    def ad_account
      @ad_account ||= AdAccount.find("act_#{account_id}")
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
facebook_ads-0.7.0 lib/facebook_ads/ad_user.rb
facebook_ads-0.6.11 lib/facebook_ads/ad_user.rb
facebook_ads-0.6.10 lib/facebook_ads/ad_user.rb
facebook_ads-0.6.9 lib/facebook_ads/ad_user.rb
facebook_ads-0.6.7 lib/facebook_ads/ad_user.rb
facebook_ads-0.6.6 lib/facebook_ads/ad_user.rb
facebook_ads-0.6.5 lib/facebook_ads/ad_user.rb
facebook_ads-0.6.4 lib/facebook_ads/ad_user.rb