Class: Vk::API::Leads::Complete

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

Overview

Instance Method Summary collapse

Instance Method Details

#costInteger

Returns Offer cost.

Returns:

  • (Integer)

    Offer cost



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

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

#limitInteger

Returns Offer limit.

Returns:

  • (Integer)

    Offer limit



11
# File 'lib/vk/api/leads/complete.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/complete.rb', line 13

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

#successAPI::Base::OkResponse



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

attribute :success, API::Base::OkResponse.optional.default(nil)

#test_modeAPI::Base::BoolInt

Returns Information whether test mode is enabled.

Returns:



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

attribute :test_mode, API::Base::BoolInt.optional.default(nil)