Class: Vk::API::Groups::Methods::GetRequests

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

Overview

Returns a list of requests to the community.

Arguments collapse

Instance Method Summary collapse

Methods inherited from Schema::Method

#call, #method, #to_hash

Constructor Details

#initialize(arguments) ⇒ Groups::Methods::GetRequests

Parameters:

  • arguments (Hash)

Options Hash (arguments):

  • :group_id (Integer)

    Community ID.

  • :offset (Integer)

    Offset needed to return a specific subset of results.

  • :count (Integer)

    Number of results to return.

  • :fields (Array)

    Profile fields to return.;



# File 'lib/vk/api/groups/methods/get_requests.rb', line 15

Instance Method Details

#countInteger

Returns Number of results to return.

Returns:

  • (Integer)

    Number of results to return.



30
# File 'lib/vk/api/groups/methods/get_requests.rb', line 30

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

#fieldsArray

Returns Profile fields to return.;.

Returns:

  • (Array)

    Profile fields to return.;



32
# File 'lib/vk/api/groups/methods/get_requests.rb', line 32

attribute :fields, API::Types::Coercible::Array.member(API::Types::Coercible::String).optional.default(nil)

#group_idInteger

Returns Community ID.

Returns:

  • (Integer)

    Community ID.



26
# File 'lib/vk/api/groups/methods/get_requests.rb', line 26

attribute :group_id, API::Types::Coercible::Int

#offsetInteger

Returns Offset needed to return a specific subset of results.

Returns:

  • (Integer)

    Offset needed to return a specific subset of results.



28
# File 'lib/vk/api/groups/methods/get_requests.rb', line 28

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