Sha256: 43dfbd046b6aa54cb3e8b620b5467e81ac4f4fdbe26d1602bf7cec4ce4b8e7fb

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Leads < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Lead < Vk::Schema::Object
        # @return [Integer] Lead limit
        attribute :limit, API::Types::Coercible::Int.optional
        # @return [Integer] Amount of spent votes
        attribute :spent, API::Types::Coercible::Int.optional
        # @return [Integer] Offer cost
        attribute :cost, API::Types::Coercible::Int.optional
        # @return [Integer] Impressions number
        attribute :impressions, API::Types::Coercible::Int.optional
        # @return [Integer] Started offers number
        attribute :started, API::Types::Coercible::Int.optional
        # @return [Integer] Completed offers number
        attribute :completed, API::Types::Coercible::Int.optional
        # @return [Object] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
        attribute :days, API::Types::Coercible::Hash.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/leads/lead.rb