Class: Vk::API::Account::Methods::GetActiveOffers

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

Overview

Returns a list of active ads (offers) which executed by the user will bring him/her respective number of votes to his balance in the application.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Account::Methods::GetActiveOffers

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :count (Integer)

    Number of results to return.


# File 'lib/vk/api/account/methods/get_active_offers.rb', line 15

Instance Method Details

#countInteger

Returns Number of results to return.

Returns:

  • (Integer)

    Number of results to return.


23
# File 'lib/vk/api/account/methods/get_active_offers.rb', line 23

attribute :count, API::Types::Coercible::Int.optional.default(100)