Sha256: bdf21aa5f378655438114f628fe8f015ff58e48650a8b2936e86e54c2044d101

Contents?: true

Size: 390 Bytes

Versions: 4

Compression:

Stored size: 390 Bytes

Contents

require_relative 'resource'

module Eucalyptus
  class AdSet < Resource
    def self.known_fields
      [
        :id,
        :account_id,
        :campaign_group_id,
        :campaign_status,
        :created_time,
        :name,
        :targeting
      ]
    end

    def campaign; Campaign.find(self.campaign_group_id); end

    def self.api_path
      "adcampaigns"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eucalyptus-1.2.4 lib/eucalyptus/ad_set.rb
eucalyptus-1.2.3 lib/eucalyptus/ad_set.rb
eucalyptus-1.2.2 lib/eucalyptus/ad_set.rb
eucalyptus-1.2.1 lib/eucalyptus/ad_set.rb