Sha256: fb91a5828ed4744504e88dee35b1391a40ba6f58424c8d4dde5f359bdbce0643

Contents?: true

Size: 468 Bytes

Versions: 4

Compression:

Stored size: 468 Bytes

Contents

module Smartdc::Api
  class Analytics
    class Heatmap
      attr_reader :request, :id

      def initialize(request, id)
        @request = request
        @id = id
      end

      def image(query={})
        request.get('my/analytics/instrumentations/' + @id.to_s + '/value/heatmap/image', query)
      end

      def details(query={})
        request.get('my/analytics/instrumentations/' + @id.to_s + '/value/heatmap/details', query)
      end  
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smartdc-1.2.2 lib/smartdc/api/analytics/heatmap.rb
smartdc-1.2.1 lib/smartdc/api/analytics/heatmap.rb
smartdc-1.1.1 lib/smartdc/api/analytics/heatmap.rb
smartdc-1.0.1 lib/smartdc/api/analytics/heatmap.rb