Sha256: 77517032c30fd32b405ace0f61c094a2cbd216cc5cd51daaa881bf7d93b3c032

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 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

1 entries across 1 versions & 1 rubygems

Version Path
smartdc-1.3.0 lib/smartdc/api/analytics/heatmap.rb