Module: BWAPI::Client::Projects::Data::ChannelMetrics

Included in:
BWAPI::Client::Projects::Data
Defined in:
lib/bwapi/client/projects/data/channel_metrics.rb

Overview

ChannelMetrics module for projects/data/channelMetrics endpoints

Instance Method Summary collapse

Instance Method Details

#data_channel_metrics_queries(project_id, dimension_two, opts = {}) ⇒ Hash

Get all channel metrics data for queries broken down by a second dimension

Parameters:

  • Id of project

  • Dimension 2 value

  • (defaults to: {})

    options hash of parameters

Options Hash (opts):

  • filter (Hash)

    The filters to apply

Returns:

  • All data channel metrics queries mentions



14
15
16
# File 'lib/bwapi/client/projects/data/channel_metrics.rb', line 14

def data_channel_metrics_queries(project_id, dimension_two, opts = {})
  get "projects/#{project_id}/data/channelMetrics/queries/#{dimension_two}", opts
end