Sha256: c39fb2ae2c9c8d0479f1222cb36313793f59088b579af8820dd93523c2d9e99a

Contents?: true

Size: 481 Bytes

Versions: 1

Compression:

Stored size: 481 Bytes

Contents

require_relative 'resource'

module Eucalyptus
  class Insight < Resource
    def self.known_fields
     [
        :cpc,
        :ctr,
        :reach,
        :relevance_score,
        :spend,
        :cost_per_action_type,
        :action_values,
        :inline_link_clicks,
        :actions
      ]
    end

    def self.find
      raise "An insight can only be used as part of a combined call. Try Insight.all"
    end

    def self.api_path
      'insights'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eucalyptus-1.2.4 lib/eucalyptus/insight.rb