Class: Vk::API::Leads::Lead

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/leads/lead.rb

Overview

Instance Method Summary collapse

Instance Method Details

#completedInteger

Returns Completed offers number.

Returns:

  • (Integer)

    Completed offers number



21
# File 'lib/vk/api/leads/lead.rb', line 21

attribute :completed, API::Types::Coercible::Int.optional.default(nil)

#costInteger

Returns Offer cost.

Returns:

  • (Integer)

    Offer cost



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

attribute :cost, API::Types::Coercible::Int.optional.default(nil)

#daysObject



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

attribute :days, API::Types::Coercible::Hash.optional.default(nil)

#impressionsInteger

Returns Impressions number.

Returns:

  • (Integer)

    Impressions number



17
# File 'lib/vk/api/leads/lead.rb', line 17

attribute :impressions, API::Types::Coercible::Int.optional.default(nil)

#limitInteger

Returns Lead limit.

Returns:

  • (Integer)

    Lead limit



11
# File 'lib/vk/api/leads/lead.rb', line 11

attribute :limit, API::Types::Coercible::Int.optional.default(nil)

#spentInteger

Returns Amount of spent votes.

Returns:

  • (Integer)

    Amount of spent votes



13
# File 'lib/vk/api/leads/lead.rb', line 13

attribute :spent, API::Types::Coercible::Int.optional.default(nil)

#startedInteger

Returns Started offers number.

Returns:

  • (Integer)

    Started offers number



19
# File 'lib/vk/api/leads/lead.rb', line 19

attribute :started, API::Types::Coercible::Int.optional.default(nil)