Sha256: b6c54a10a8e66586c2204e3ebc380587b93a4851c9c941d4998a035a018392fc

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

require_relative 'resource'

module Eucalyptus
  class Insight < Resource
    def self.known_fields
     [
        :clicks,
        :cpc,
        :ctr,
        :reach,
        :relevance_score,
        :spend,
        :cost_per_action_type,
        :action_values,
        :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.2 lib/eucalyptus/insight.rb