Class: Vk::API::Leads::Methods::MetricHit

Inherits:
Schema::Method
  • Object
show all
Defined in:
lib/vk/api/leads/methods/metric_hit.rb

Overview

Counts the metric event.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Leads::Methods::MetricHit

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :data (String)

    Metric data obtained in the lead interface.



# File 'lib/vk/api/leads/methods/metric_hit.rb', line 15

Instance Method Details

#dataString

Returns Metric data obtained in the lead interface.

Returns:

  • (String)

    Metric data obtained in the lead interface.



23
# File 'lib/vk/api/leads/methods/metric_hit.rb', line 23

attribute :data, API::Types::Coercible::String